tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r496093 - in /tomcat: connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java container/tc5.5.x/webapps/docs/changelog.xml
Date Sun, 14 Jan 2007 16:02:21 GMT
Author: markt
Date: Sun Jan 14 08:02:20 2007
New Revision: 496093

URL: http://svn.apache.org/viewvc?view=rev&rev=496093
Log:
Fix bug 39627. JULI now acts on a .level=XXX directive

Modified:
    tomcat/connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java?view=diff&rev=496093&r1=496092&r2=496093
==============================================================================
--- tomcat/connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java (original)
+++ tomcat/connectors/trunk/juli/src/java/org/apache/juli/ClassLoaderLogManager.java Sun Jan
14 08:02:20 2007
@@ -335,13 +335,12 @@
         }
         ClassLoaderLogInfo info = 
             new ClassLoaderLogInfo(new LogNode(null, localRootLogger));
-        info.loggers.put("", localRootLogger);
         classLoaderLoggers.put(classLoader, info);
         
         if (is != null) {
             readConfiguration(is, classLoader);
         }
-        
+        addLogger(localRootLogger);
     }
     
     
@@ -488,6 +487,9 @@
 
         LogNode findNode(String name) {
             LogNode currentNode = this;
+            if (logger.getName().equals(name)) {
+                return this;
+            }
             while (name != null) {
                 final int dotIndex = name.indexOf('.');
                 final String nextName;

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=496093&r1=496092&r2=496093
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sun Jan 14 08:02:20 2007
@@ -77,6 +77,11 @@
         <bug>39436</bug>: Correct MIME type for SVG. (markt)
       </fix>
       <fix>
+        <bug>39627</bug>: JULI no longer ignores a ".level=XXX" directive
+        in logging.properties. Patch provided by Roger Keays and Richard
+        Fearn. (markt)
+      </fix>
+      <fix>
         <bug>39724</bug>: Removing the last valve from a pipeline did not
         return the pipeline to the original state. Patch provided by
         David Gagon. (markt)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message