You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kanda Upendra <UK...@agris.com> on 2005/04/27 23:42:15 UTC

redirect stdout on tomcat 5.5

I am using Tomcat 5.5 and when I don't use the tomcat.exe, I can make it
write to the stdout log. How can I redirect stdout to a specific file.
Suggestions please.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: redirect stdout on tomcat 5.5

Posted by Patrick Thomas <ps...@gmail.com>.
Use a batch file to start tomcat and use the plain old redirect symbol, like so:

redirect_tomcat.bat:
-------------------------
tomcat5.exe > whateverfileyouwant.log
-------------------------

The other thing you should probably check out is the Logging tab in
the tomcat5w.exe app, it seems to handle exactly what you're trying to
do.

~PST

On 4/27/05, Kanda Upendra <UK...@agris.com> wrote:
> 
> I am using Tomcat 5.5 and when I don't use the tomcat.exe, I can make it
> write to the stdout log. How can I redirect stdout to a specific file.
> Suggestions please.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org