문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top