tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Anchlia" <mohitanch...@gmail.com>
Subject Logging
Date Wed, 15 Oct 2008 17:24:24 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message