Hi, If I understand Filip's answer correctly... the difference between the default tomcat-juli.jar and the output/extras/tomcat-juli.jar is that the first one is some glue code that hardcodes commons-logging to work only with java.util.logging and the second supports the "complete" commons-logging - therefore also log4j.
So am I correct to think that it does not hurt to have the "extras" tomcat-juli.jar and tomcat-juli-adapters.jar in the ${catalina.home}/lib, without log4j.jar, and still successfully log by configuring a j.u.l ${catalina.base}/conf/logging.properties ? Bill's comment is an interesting one. I remember seeing somewhere (tomcat docs?) a warning against app reloading; that doing so was a memory leak soon or later. Many Thanks - Fred fredk2 wrote: > Hi, > > To use log4j the documentation > http://tomcat.apache.org/tomcat-6.0-doc/logging.html > suggest that we need to: > > 1. Replace $CATALINA_HOME/bin/tomcat-juli.jar with the > output/extras/tomcat-juli.jar. > > 2. Place output/extras/tomcat-juli-adapters.jar in $CATALINA_HOME/lib. > > What do these file do? why are they extras and why not have them in the > default build? > they enable you to plug in commons-logging if you want to use that instead of java.util.logging Filip > In my quick basic tests I did not observe any difference in the logging > behaviors when compared to the original tomcat-juli.jar. Can anyone > explain > how or when this would become a problem? > > Many Thanks - Fred > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Can-we-use-output-extras-tomcat-juli.jar-by-default--tf4288716.html#a12245350 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]