Am 22.02.2015 um 17:12 schrieb Campbell, Lance:
Tomcat 8.x
Valve: org.apache.catalina.valves.AccessLogValve
When all of my log files rotate I like to add the suffix “.old”. This
is so that if there is an issue with file sizes I can very quickly
delete all old log files by doing:
rm *.old
Using the above AccessLogValve how can I append “.old” to the end of the
file name when it rotates?
Try:
renameOnRotate="true" fileDateFormat=".yyyy-MM-dd.old"
and no suffix attribute.
See:
http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Access_Log_Valve
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org