How rotate TomCat 6 logs on Windows every night

Posted by Danilo Brambilla on Server Fault See other posts from Server Fault or by Danilo Brambilla
Published on 2010-04-26T10:56:13Z Indexed on 2010/04/26 11:03 UTC
Read the original article Hit count: 458

Hi all,

our TomCat 6 is running on a Windows Server 2003 server producing some logs on Program Files\Apache Software Foundation\Tomcat 6.0\logs folder.

Only catalina.YYYY-MM-DD.log rotates every night.

Admin. Host-Manager. Jakarta. LocalHost. Manager. stderr. stdout does not roate and are dated at the last server restart date. These files are most empty and always locked.

How can I set TomCat to rotate all these logs every night (if possible without server/service restart)?

Thank you in advance for help.

© Server Fault or respective owner

Related posts about tomcat

Related posts about log-files