How to I 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
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
