> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Unix creates the catalina.out but on Windows it does not
> 
> Tomcat itself does not write to "catalina.out".
> Tomcat runs inside a JVM, and through the JVM, it may write some
> messages to STDOUT and STDERR.

Actually, Tomcat doesn't write anything to stdout and stderr, but site-supplied 
webapps often do, apparently being too lazy to use a logger.  These may be 
captured with the swallowOutput attribute of the <Context> element, if desired.

> Under Windows, you are probably running the JVM and Tomcat under a
> "service wrapper" (e.g. bin/tomcat6.exe).  If so, it is probably that
> one which redirects the JVM's STDOUT/STDERR, and probably to the
> Windows Event Logs instead of the file "catalina.out".

The stdout/stderr files for Tomcat as a Windows service are in Tomcat's logs 
directory, under the names stdout_yyyyMMdd.log and stderr_yyyyMMdd.log, 
respectively.  These may be changed by installing the service with the 
appropriate parameters.  See the procrun doc for details:
http://commons.apache.org/daemon/procrun.html

 - 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