tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat 6 Log Tomcat output to file
Date Mon, 04 Jan 2010 02:26:17 GMT
> From: n828cl [mailto:Chuck.Caldarale@unisys.com]
> Subject: Re: Tomcat 6 Log Tomcat output to file
> 
> awarnier wrote:
> > startup.bat > outputfile
> 
> Close, but it should be:
> 
> catalina.bat > outputfile.log

Scratch that - it's not complete; it should be:

catalina.bat > outputfile.log 2>&1

Most of the log messages are sent to stderr, not stdout, so the two redirections are needed.

You will need to run shutdown.bat from a separate command prompt, or use CTRL-C in the original
one, along with answering y to the now-hidden terminate message.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message