Howdy,
This is a FAQ, you could search the archives.

A couple of things:
1. catalina.out isn't rotated on unix either.
2. Add swallowOutput=true to you context to make System.out and
System.err go into the context logger, which is rotated nightly.
3. Don't use System.out/System.err so much ;)  Consider a logging
framework like log4j.
4. There are external, free, 3rd party log rotating tools out there,
google.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Deluca, Don [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 20, 2003 11:53 AM
>To: Tomcat-User (E-mail)
>Subject: log rotation for stdout and stderr?
>
>We are running Tomcat as a Windows service.
>
>The stdout and stderr log files are not rotated when running as a NT
>service.  Also when the service is stopped and started the files are
>overrwritten.
>
>Are there any parameters that need to be set when installing the
windows
>service that can activate log rotation or append to
>the files?
>
>Any other known solutions/suggestions to fix this?
>
>Thanks,
>       Don




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to