A question about log-rotation on "catalina.out" from Tomcat
I am not sure if I should post my question here. Just try, maybe someone can answer.
I have now a problem/question: I've installed Tomcat 5.5.27 on Linux. Though the "catalina.out" will be rotated everyday, i.g. "catalina.yyyy-mm-dd.log. But the "catalina.out"-self doesn't begin from the new day but still contains the old log messages. I've heard this is default setting. Is it true? How can I improve this log-rotation so that everyday the "catalina.out" will be closed and renamed and a new one created which just holds the current day log messages? |
Show the content of the logrotate cfg for this file. Sounds like you haven't got 'truncate' option on.
|
Quote:
Code:
[ivs@s003ap25-test ~]$ more /etc/logrotate.conf |
All times are GMT -5. The time now is 05:50 PM. |