I would also like to add functionality to the AccessLogValve, and a
subclass would be fine for my purposes, but currently,
org.apache.catalina.valves.AccessLogValve is declared final, presumably
for performance reasons. Is there any chance of changing that?
Mike
Shapira, Yoav wrote:
Howdy,
Much of the access log filename can be customized in the Valve
declaration using prefix and suffix, but the date format used for
the filename is hardcoded in the Valve code.
Here's a patch that allows the date format to be specified in
the Valve definition alongside prefix and suffix.
If this
), then the logs would rotate
every second. Which some may consider a feature :)
-Tim
Michael Heinrichs wrote:
Much of the access log filename can be customized in the Valve
declaration using prefix and suffix, but the date format used for
the filename is hardcoded in the Valve code.
Here's a patch