tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Montz, James C. (James Tower)" <JCMo...@jamestower.com>
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).

Thanks!
James

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message