I need to write a shell script that basically copies the catalina.out file to something like catalina.out.yyyymmdd
Then it needs to flush the contents of catalina.out.
I need to do this without restarting tomcat. Any ideas on how to do this without possibly causing problems with the logging capabilities.
It would be great if I could tell Tomcat to flush the log file when I run the script.
Then it needs to flush the contents of catalina.out.
I need to do this without restarting tomcat. Any ideas on how to do this without possibly causing problems with the logging capabilities.
It would be great if I could tell Tomcat to flush the log file when I run the script.