Hello,
I have tomcat-4.0.3, solaris sparc 8.

Well, as the topic says I need to know how to rotate catalina.out log
file, without restarting the tomcat. It's created in bin/catalina.sh and
every time catalina starts the logs are just appended to it with no rotation.
The problem is that file handle is kept all the time while the tomcat is
running, so moving/copying to another file and then deleting the original
doesn't help. Once the next action has to be logged, the original file
is becoming the same size as the copied file is + the normal log output
for the action happened. Regular tricks with
"cp catalina.out catalina.out.backup;cat /dev/null catalina.out"
don't help either - same result.


Thanks,
Edward




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to