You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ceki Gülcü <ce...@qos.ch> on 2002/07/11 23:25:24 UTC
RE: Log4j-1.2.5
Lenny,
What are the exact problems you are experiencing? What are you doing
and what goes wrong? Have you tried putting log4j-X.X.jar under
WEB-INF/lib of your webapp?
Have you read the section "Default Initialization under Tomcat" in the
log4j manual (http://jakarta.apache.org/log4j/docs/manual.html)?
For those interested, I have a long gripe about commons-logging on the
log4j-user mailing list:
http://marc.theaimsgroup.com/?l=log4j-user&m=102640868804904
but that's another story altogether.
>Let me rephrase my question:
>
>After some research through the Jakarta Commons Logging site,
>I've come to the conclusion that it is going to be very involved to set up
>Log4j-1.2.5 with Tomcat 4.1.3!!!
>
>If someone using Tomcat 4.1.* has already successfully set up and is
using any \
>versions of Log4j under Tomcat 4.1.* with along Commons Logging jars,
would you \
>please forward an example of how you set up to me.
>
>I've read just about everything I could find regarding log4j and commons
logging
>and I still cannot figure out how to set them up to work together.
>
>Any resonse would be greatly appreciated.
>
>Please excuse the multiple posts, but I'm am really looking for a
solution to this my \
>problem.
>
>
>Thanks,
>
>Lenny Sorey
>
>
>**********************************************************************
>
>Where exactly should the log4j-1.2.5.jar be located in order to get it to
work
>within Tomcat 4.1.3?
>
>I can get log4j to work with log4j.properties while I run it as a
separate servlet
>by starting it from a command line with java after I compile it the
servlet alone.
>
>I still can't get it to work with Tomcat 4.1.3
>
>My JSP's currently run find and retrieve data. I really need to place
some log4j \
>statement to debug in some servlets. Any help would certainly be appreciated.
>
>Oh Yeah, The folks from the Loggers4J Users group suggested that I asked
this group \
>for help regarding using log4j with Tomcat.
>
>Platform again:
>
>Windows 2000 Professional
>Tomcat 4.1.3
>J2SDK 1.4.0
>Log4j-1.2.5
>Turbine 2.1
>velocity-1.2-dev
>MySQL 4.0.1-alpha-max-nt
>
>Thanks,
>
>Lenny Sorey
--
Ceki
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>