http://bugzilla.slf4j.org/show_bug.cgi?id=22
------- Additional Comments From [EMAIL PROTECTED] 2006-06-01 11:50 ------- Ceki, My setup is a default Tomcat installation, except that xercesImpl.jar is placed in common/lib (this shouldn't affect anything). The only logging jars I can identify are these: bin/commons-logging-api.jar bin/tomcat-juli.jar webapps/hang/WEB-INF/lib/jcl104-over-slf4j.jar webapps/hang/WEB-INF/lib/slf4j-simple.jar I did not configure JCL, so its discovery finds java.util.logging. Now I have done some more testing by turning on diagnostics in JCL. I also hardwired JCL to use SimpleLog in order to eliminate any possibility that the problem was related to tomcat-juli. The diagnostics indicate that Tomcat's JCL-LogFactory finds the SLF4J implementation and uses it for its WebappClassLoader. Later when the webapp is undeployed, WebappClassLoader calls the static JCL method LogFactory.release(this) which finds the SLF4J instance and calls its release() method. The above is just my guess. I am not familiar with the internal workings of either Tomcat or JCL. Anyway, here is the relevant part of the JCL diagnostics: [INFO] HostConfig - Deploying web application archive hang.war newInstance(org.apache.catalina.startup.ExpandWar) using public org.apache.commons.logging.impl.SimpleLog(java.lang.String) null[LOOKUP] LogFactory implementation requested for the first time for context classloader [EMAIL PROTECTED] null[LOOKUP] [EMAIL PROTECTED] == 'WebappClassLoader delegate: false repositories: ----------> Parent Classloader: [EMAIL PROTECTED] ' null[LOOKUP] ClassLoader tree:[EMAIL PROTECTED] --> [EMAIL PROTECTED] --> [EMAIL PROTECTED] --> [EMAIL PROTECTED] (SYSTEM) --> [EMAIL PROTECTED] --> BOOT null[LOOKUP] No properties file of name 'commons-logging.properties' found. null[LOOKUP] Looking for system property [org.apache.commons.logging.LogFactory] to define the LogFactory subclass to use... null[LOOKUP] No system property [org.apache.commons.logging.LogFactory] defined. null[LOOKUP] Looking for a resource file of name [META-INF/services/org.apache.commons.logging.LogFactory] to define the LogFactory subclass to use... null[LOOKUP] Creating an instance of LogFactory class org.apache.commons.logging.impl.SLF4FLogFactory as specified by file 'META-INF/services/org.apache.commons.logging.LogFactory' which was present in the path of the context classloader. nullLoaded class org.apache.commons.logging.impl.SLF4FLogFactory from classloader [EMAIL PROTECTED] nullCreated object [EMAIL PROTECTED] to manage classloader [EMAIL PROTECTED] -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ dev mailing list dev@slf4j.org http://slf4j.org/mailman/listinfo/dev