> From: Tarun Gupta [mailto:tarun.gu...@digitalmountain.com] > Subject: logging in tomcat 6.0.x
> I've got a tomcat 6.0.29 installation with a web app deployed. > But, all the logging is going to the console. How should I > redirect the logging to go to a file. A) Fix your webapp not to do its "logging" by calling System.out or System.err but instead use a real logging mechanism. - or - B) Set swallowOutput="true" in the <Context> element for the webapp. References: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html http://tomcat.apache.org/tomcat-6.0-doc/logging.html http://wiki.apache.org/tomcat/FAQ/Logging - 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