tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Oliver" <beef...@hotmail.com>
Subject Re: Logging System.out/err in Tomcat
Date Mon, 25 Jun 2001 07:30:53 GMT
Have you tried using Log4J?

Yep... Log4J is what you need.

http://jakarta.apache.org/log4j/docs/index.html

-- Brian

>From: tschwarz@startserver.de
>Reply-To: tomcat-user@jakarta.apache.org
>To: <tomcat-user@jakarta.apache.org>
>Subject: Logging System.out/err in Tomcat
>Date: Mon, 25 Jun 2001 08:15:05 +0200
>
>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
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message