How rotate TomCat 6 logs on Windows every night
- by Danilo Brambilla
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.