tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Montz, James C. (James Tower)" <>
Subject Log File Rotation in Tomcat 4.1?
Date Tue, 14 Dec 2004 20:34:09 GMT
How are other admins handling log file rotation and clean up with Tomcat
4.1 on Linux in a Multiple Tomcat instance hosting environment?

Is there any way to have Logger::FileLogger not insert a timestamp in
the filename? (Short of re-writing the class?)

My initial plan was to use something like the logrotate utility to stop
Tomcat, rotate the logs out (catalina.out becomes catalina.out.1,
access.log becomes access.log.1, etc.), then start Tomcat up again.
But I would have to create a separate logrotation config file for each
Tomcat instance (I was hoping for a more elegant solution).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message