Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.