Actually I have log4j already working. What's the use of trunk? My question was why some debug messages get logged and some don't.
On Tue, Oct 21, 2008 at 6:30 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > for log4j you have to build the extras package > > svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk > cd trunk > ant download > ant > ant -f extras > > this gives you > a) tomcat-juli.jar - replaces the one in tomcat (bin directory) > b) tomcat-juli-adapters.jar - put in the lib directory > > then add log4j in the lib directory, and log4j.properties in the lib > directory too > > Filip > > Mohit Anchlia wrote: >> >> Could somebody please help me with my below post. >> On Wed, Oct 15, 2008 at 10:24 AM, Mohit Anchlia <[EMAIL PROTECTED]> >> wrote: >> >>> >>> I am using tomcat 6. And I have enabled log4j by placing log4j.xml and >>> log4j.jar files in classpath. It did change to log4j but I see that >>> some debug messages are put in log files and some are not. I was >>> looking around and found the following: >>> >>> # Set juli LogManager if it is present >>> if [ -r "$CATALINA_BASE"/conf/logging.properties ]; then >>> JAVA_OPTS="$JAVA_OPTS >>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" >>> >>> >>> LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties" >>> fi >>> >>> Does this have any impact. I have logging.properties in conf, does it >>> change behaviour in any way. Should I be getting rid of this file. I >>> still don't understand why some debugs are printed and some are not. >>> >>> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]