tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eric Miller" <>
Subject Re: How to configure logs in Tomcat 5.5?
Date Wed, 01 Sep 2004 18:26:04 GMT
Thanks for the info. Does this mean that if I don't configure the logging 
and an exception occurs in Tomcat, or, in an application that it will not be 
logged at all? Or, does it go to catalina.out by default? If it goes to 
catalina.out, that's fine, I just want to make sure that while I'm 
developing applications and/or configuring the server, if an exception 
occurs (either in Tomcat itself or in an application that I write), it gets 
logged to a file so that I can diagnose the problem. I'm surprised that even 
the access logs are turned off by default.


----- Original Message ----- 
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Wednesday, September 01, 2004 11:50 AM
Subject: RE: How to configure logs in Tomcat 5.5?

> Hi,
> Loggers are gone: your server.xml <Logger> element is invalid and should
> be removed.
> For configuring commons-logging with Tomcat, see
>  If
> you're unfamiliar with commons-logging or want to learn more about it,
> check out the user guide at
> 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 []
>>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
>>my server.xml previously. However, this no longer works.
>><Logger className="org.apache.catalina.logger.FileLogger"
>>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
>>no longer neccessary? Does it just log to catalina.out now or
> something?
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message