> From: Jay [mailto:difficult...@yahoo.com]
> Subject: RE: Logging configuration in Tomcat
>
> My actual problem is that, as it is, catalina.out is growing

Sounds like your webapps are using System.out or System.err for their logging, 
which is poor practice.  They should be using a proper logging mechanism, not 
just splattering print statements wherever they feel like it.

You should be able to address that with the swallowOutput attribute of the 
<Context> element:
http://wiki.apache.org/tomcat/FAQ/Logging#Q6
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

Set the attribute in conf/context.xml if you want it to apply to all webapps.

 - 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