I am guessing... Somewhere in the script there should be a ">> catalina.out"
to append to catalina.out. Change that to "> catalina.out" so that the old
file is automatically rewritten. Or else you may use rotatelogs program
that comes with apache http server. See
http://httpd.apache.org/docs/2.
Sorry guy. Maybe someone else can provide such updates. I'd have to
write it as I've never had the need for such functionality.
--David
persistence k wrote:
Thanks Mr.David .
Will you please send me a sample start up script to handle renaming or
deleting the old catalina.out file.
Regards
Thanks Mr.David .
Will you please send me a sample start up script to handle renaming or
deleting the old catalina.out file.
Regards,
Persistence
On 2/11/08, David Smith <[EMAIL PROTECTED]> wrote:
> Then you should modify the startup script to handle renaming or deleting
> the old file befor
Then you should modify the startup script to handle renaming or deleting
the old file before starting tomcat. Catalina.out itself is just the
redirected standard output from tomcat and tomcat has no control over
what the OS does with what it spews out.
As a better alternative, configure your
Yes, Mr.David. I want each time tomcat's redirects its standard output to
catalina.out file,
this file should reflect that change and during tomcat start up all the
content in the file should be deleted, instead of appending it to previous
messages.
Right now I'm closing and reopening the file to
I'm not clear on what you mean by 'reloading' as catalina.out is just a
text file accepting tomcat's redirected standard output. It should
simply be appended to as messages are generated. Are you saying you
want the file to be deleted and started fresh on every tomcat startup?
--David
persi
Hi,
whenever I restart the tomcat in linux, the file ' catalina.out ' is not
automatically reloading just like the file ' std.out ' does in windows.
' catalina.out ' file containing all the 'System.out ' statements printed
from the day tomcat
was installed in my linux system.
Please tell me a so