How to rotate Tomcat's catalina.out file
Issue
Tomcat's catalina.out
does not rotate by default. We need it to rotate because its size is increasing to gigabytes. We don't want to nullify it at the system level as we will lose some log messages. What is the best way to implement log rotation for catalina.out
file?
Environment
- JBoss Enterprise Web Server (EWS)
- 1.x
- 2.x
- JBoss Web Server (JWS)
- 3.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.