Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My predecessor set up Tomcat 6 on a RHEL5 server and it's logging to /var/log/tomcat and creating log files like catalina.2012-11-28.log ( - how do I change the log format from date to catalina.1.log, catalina.2.log, etc.? The server.xml does not contain any references to logging, the only place I see is in How do I change the behaviour of Tomcat's logging?

share|improve this question

1 Answer 1

Have a look of the documentation of the FileHandler :

There is possible to specify a generation number with the parameter "%g" in the file ${catalina}/conf/

example : = ${catalina.base}/logs/catalina.%g.log

See also :

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.