> From: n828cl [mailto:chuck.caldar...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to