In a tomcat server, logs folder contains files like these
- localhost.YYYY-MM-DD.log: the log of the host
- host-manager.YYYY-MM-DD.log and manager.YYYY-MM-DD.log: the logs of the related web applications
- catalina.YYYY-MM-DD.log:: the container log file
- catalina.out: ??
I have an understanding about all the log files other than "catalina.out". I was looking for an explanation in the documentation but couldn't find different between "catalina.out" and "catalina.YYYY-MM-DD.log". When I go through the content, both seem similar. Can someone please help me to differentiate them?
Note: Reason I'm digging into this is my productions servers, "catalina.out" file is becoming bulkier(around 12 GB now). This can crash my application at any time since tomcat will not guarantee for application crashes after "catalina.out" become more than 2gb (as the Tomcat reference). Remaining options are rotating "catalina.out" using 3rd party tool like Logrotate or clean the "catalina.out". I'm using sl4j with log4j as the logging toolkit.