tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How to configure logs in Tomcat 5.5?
Date Wed, 01 Sep 2004 16:50:59 GMT

Hi,
Loggers are gone: your server.xml <Logger> element is invalid and should
be removed.

For configuring commons-logging with Tomcat, see
http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.  If
you're unfamiliar with commons-logging or want to learn more about it,
check out the user guide at
http://jakarta.apache.org/commons/logging/guide.html.

Note that for people who don't care much about logging,
System.out/System.err still behave as before, and the ServletContext#log
method works without any special configuration.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Jonathan Eric Miller [mailto:jemiller@uchicago.edu]
>Sent: Wednesday, September 01, 2004 12:46 PM
>To: Tomcat User List
>Subject: How to configure logs in Tomcat 5.5?
>
>I noticed in the change log that some changes have been made to the way
>things are logged in Tomcat 5.5. I was using something like the
following
>in
>my server.xml previously. However, this no longer works.
>
><Logger className="org.apache.catalina.logger.FileLogger"
>directory="logs"
>prefix="localhost_log."
>suffix=".txt"
>timestamp="true"/>
>
>I'm wondering how to configure the new "commons-logging?" The default
>server.xml doesn't seem to have anything in it for this. Is configuring
>this
>no longer neccessary? Does it just log to catalina.out now or
something?
>
>Jon
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message