Thanks
Thanks, Lance Campbell Software Architect Web Services at Public Affairs 217-333-0382 -----Original Message----- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Sunday, February 22, 2015 12:09 PM To: Tomcat Users List Subject: Re: AccessLogValve - add a suffix to log file on rotation 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org