Update copyright year.
Add cast to eliminate compiler warning.
Accidentally remove log level when dropping macro used for Apache 1.3.