On Wed, Oct 19, 2011 at 4:46 PM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2011/10/19 Silvia Righini <shigure.minaz...@gmail.com>:
> > Hi everyone,
> >
> > I'm trying to tell tomcat to use log4j for its internal logging, but it
> just
> > ignores me..
> > I have Tomcat 6.0.33 running on a Mac OS X 10.5.8 (with java openjdk
> version
> > "1.6.0-internal").
> >
> > I followed to the letter the docs at
> > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j
> > I put log4j.properties (copy and paste right from the docs) in
> > /usr/local/tomcat/lib, got log4j-1.2.16.jar in /usr/local/tomcat/lib, and
> > put tomcat-juli-adapters.jar and (new) tomcat-juli.jar in
> > /usr/local/tomcat/bin.
>
> IIRC, adapters should go into lib.  They wouldn't be found if they are in
> bin.
>
> You are SO right! I read the docs over and over and didn't notice
tomcat-juli.jar had to be in bin, while the adapter had to be in lib!

Thank you so much, you saved my day!

Reply via email to