> From: Milan Tomic [mailto:tomicmi...@yahoo.com]
> Subject: Logging in Tomcat 5 (SysOut & SysErr)
> 
> At present, system.out and system.err are printing in the Windows
> console. How can I redirect output to some file?

The first thing you have to tell us is exactly what version of Tomcat you're 
using; saying "Tomcat 5" is highly ambiguous.  If it's a 5.0.x, that is no 
longer supported.

Look at the swallowOutput attribute for the <Context> element:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

If you don't have a logging.properties file in Tomcat's conf directory, your 
Tomcat installation is corrupt.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to