Re: Question of separate catalina.out

2008-01-12 Thread latteye
Thank you very much. David Delbecq! I think I can solve it with log4j**. 2008/1/12, David Delbecq <[EMAIL PROTECTED]>: > > Well technically, tomcat does not write to catalina.out, it writes by > default to standard output. The startup script does a redirect of tomcat > stdout and stderr to catal

Re: Question of separate catalina.out

2008-01-12 Thread David Delbecq
Well technically, tomcat does not write to catalina.out, it writes by default to standard output. The startup script does a redirect of tomcat stdout and stderr to catalina.out using the '>' operator. Now, on unix system, when a file is opened and a handle is retrieved (here by invoking shell

Question of separate catalina.out

2008-01-12 Thread latteye
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