tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Setup Logging for Tomcat 6
Date Mon, 24 Nov 2008 19:23:18 GMT
To setup log4j, here's what I did.

Copy the log4j jar file to WEB-INF/lib.  Put it in ${catalina.home}/lib if you want all webapps
to be able to see this file.

Create a  Initially this file was in WEB-INF/classes/ 
Now I have the file in WEB-INF/lib/myjarfile.jar! (that is, at the root level
of the jar file).

That's it, if I remember correctly.

When the properties file specifies a relative filename, it appears to be relative to ${catalina.home},
so specify for example "logs/myfile.log".

--- On Mon, 11/24/08, dOE <> wrote:

> From: dOE <>
> Subject: Setup Logging for Tomcat 6
> To: "Tomcat User-List" <>
> Date: Monday, November 24, 2008, 8:25 AM
> I have downloaded "" from
>, and
> began to following
> some of the steps, and then I am left clueless on what to
> do following the
> creation of the file, and copying
> "log4j-1.2.15.jar" in
> /tomca/lib.  Then it asks to "Place
> output/extras/tomcat-juli-adapters.jarin
> $CATALINA_HOME/lib."  I don't
> know where "output/extras" is?
> Any further guidance in this would be much MUCH
> appreciated.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message