I am pretty new with Tomcat.
What I am looking for is:
For Tomcat to rotate files based on size, compress & delete the old files after compression.
My current log files are configured in various locations as mentioned below. I am not sure if this is the right way to handle these logs in Tomcat.
localhost_access_log /var/lib/tomcatmulti/frontend/conf/server.xml
netbiscuits-perf.log /var/lib/tomcatmulti/frontend/webapps/ROOT/WEB-INF/classes/log4j.xml
catalina.out /usr/share/tomcat7/bin/catalina.sh
- How can I find which logging engine is my Tomcat using ?
- Does this mean that my tomcat has log4j enabled ?
- How can I rotate the logs for the above files ?
Please don't suggest logrotate. If you are to, I would like to understand why Tomcat WONT rotate it as I feel that this is something the application should be capable of doing.