You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vijay Kandy <Vi...@mailcode.com> on 2003/01/17 17:54:30 UTC

System.out logs

Hello All,

Tomcat 4 logs all System.out or System.err messages to Catalina.out by
default. How would I do this in a Tomcat 3.2.3 environment. As of now, it
prints on to the window Tomcat was started. I would like to save the
messages on a file. Please help.

Sincerely,
Vijay



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: System.out logs

Posted by Lajos Moczar <lm...@galatea.com>.
On Unix, startup.sh > tomcat.out 2>&1. Windows something similar, I'm sure.

Lajos


Vijay Kandy wrote:
> Hello All,
> 
> Tomcat 4 logs all System.out or System.err messages to Catalina.out by
> default. How would I do this in a Tomcat 3.2.3 environment. As of now, it
> prints on to the window Tomcat was started. I would like to save the
> messages on a file. Please help.
> 
> Sincerely,
> Vijay
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


-- 



                    Lajos Moczar
       ----------------------------------------
     Open Source Support, Consulting and Training
       ----------------------------------------
             Cocoon Developer's Handbook
  (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                    _      _____
                   / \         /
                  /___\      /
                 /     \   /____

      http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: System.out logs

Posted by Dan Lipofsky <da...@nuserve.com>.
> Hello All,
> 
> Tomcat 4 logs all System.out or System.err messages to Catalina.out by
> default. How would I do this in a Tomcat 3.2.3 environment. As of now, it
> prints on to the window Tomcat was started. I would like to save the
> messages on a file. Please help.
> 
> Sincerely,
> Vijay

You don't say which OS you are running.
On unix, the output is redirected using the shell redirection syntax
just like you can do for any unix  process.  Look in catalina.sh to
see how this done.  You ought to be able to add the same thing
to the tomcat.sh script for tomcat 3.
- Dan



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>