Look in server.xml   Read the comments there.

In Tomcat 3.2.2 (and probably in 3.2.1 also) the following comment appears
in server.xml:
<!-- if you don't want messages on screen, add the attribute
            path="logs/tomcat.log" 
         to the Logger element below
    -->

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 24, 2001 11:15 PM
To: [EMAIL PROTECTED]
Subject: Logging System.out/err in Tomcat


Hi out there!

I've got a serious problem of logging in Tomcat 3.2.1.
When using the build-in Webserver for testing, the outputs to System.out/err
are only logged to the screen.

Is there any way to log this output to a file without some hacks like
writing a special servlet that resets the System.out/err to some own stream?


By the way: Is there anywhere a full description of the server.xml file. The
only i found is the 'Tomcat's Configuration Files' in the 'Tomcat - A
Minimalistic User's Guide' page developed with the tomcat documentation. But
neither this page or the descriptions in the file itself are really
complete.



Thanks

Thorsten

Reply via email to