I have a question of separate tomcat logfile catalina.out.

I use newsyslog to create a new catalina.out every midnight. And the old log
file move to catalina.out.0.
But Tomcat always write the log to the old file catalina.out.0.  Unless I
restart my tomcat, it will write the log to new file which newsyslog
created.

It's not a good idea to restart tomcat with crontab everynight.

And I had tried to send a sighup to tomcat process with cmd : kill -HUP pid.
It shutdown.

I wanna find a way to make tomcat write log to new logfile ,so newsyslog can
work.

Thanks.

Reply via email to