You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by n828cl <Ch...@unisys.com> on 2010/01/04 03:09:02 UTC
Re: Tomcat 6 Log Tomcat output to file
awarnier wrote:
>
>
> startup.bat > outputfile
>
>
Close, but it should be:
catalina.bat > outputfile.log
- 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.
--
View this message in context: http://old.nabble.com/Tomcat-6-Log-Tomcat-output-to-file-tp26875090p27007967.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat 6 Log Tomcat output to file
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
> Subject: Re: Tomcat 6 Log Tomcat output to file
>
> catalina.bat run >outputfile.log 2>&1
Indeed; thanks for the correction.
- 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
Re: Tomcat 6 Log Tomcat output to file
Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/1/4 Caldarale, Charles R <Ch...@unisys.com>:
>> 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
>
catalina.bat run >outputfile.log 2>&1
;)
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat 6 Log Tomcat output to file
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> 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