tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Dickinson" <jonmdickin...@googlemail.com>
Subject Re: How to configure the logs for Tomcat 5.5.17
Date Sat, 29 Jul 2006 14:54:58 GMT
Put the commons-logging.jar and log4j.jar in your server/lib directory and
your log4j.properties file in the server/classes directory. This is a
seperate class loader from the one used for your web applications so you can
define the Tomcat server logging seperately from your web application
logging.

Make sure you don't have log4j jar and properties file in the common
directory or this will override any other settings as the other class
loaders "inherit" from this class loader.

See the Tomcat documentation for an explanation of the organisation of class
loaders for Tomcat:

http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

Jon.

On 27/07/06, Raju Balugu <raju.balugu@gmail.com> wrote:
>
> Hi ,
>
> Tomcat 5.5.15 Solaris 2.9 box
>
> I am trying to configure the logging throuth log4j but not able to
> success..getting lot of errors.
>
> Can anybody give the steps to configure the tomcat logging.(specific to
> Tomcat purpose not the application)
>
> Regards
> Raju
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message