Shann
Shann

Reputation: 690

Tomcat catalina.out logrotate on redhat not working properly

I am trying to roll the log catalina.out on a webserver using logrotate. I have been able to roll the log and a log catalina.out-dateext is created. But I notice that the log is being written in the new file catalina.out-dateext. Is there something that need to be done on the webserver?

Thank you

Upvotes: 1

Views: 7647

Answers (1)

linux_fanatic
linux_fanatic

Reputation: 5167

Add copytruncate in your /etc/pex/tomcat file. For more info about all the options: vineetmanohar.com/2010/03/howto-rotate-tomcat-catalina-out

Upvotes: 3

Related Questions