tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r527981 - /tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java
Date Thu, 12 Apr 2007 15:34:52 GMT
Author: remm
Date: Thu Apr 12 08:34:51 2007
New Revision: 527981

URL: http://svn.apache.org/viewvc?view=rev&rev=527981
Log:
- 42085: The handlers for the root logger are now added in addLogger when they are explicitly
specified.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java?view=diff&rev=527981&r1=527980&r2=527981
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/juli/ClassLoaderLogManager.java Thu Apr 12 08:34:51
2007
@@ -412,18 +412,6 @@
                 }
             }
             
-            // Add handlers to the root logger, if any are defined using the .handlers property.
-            if (rootHandlers != null) {
-                StringTokenizer tok2 = new StringTokenizer(rootHandlers, ",");
-                while (tok2.hasMoreTokens()) {
-                    String handlerName = (tok2.nextToken().trim());
-                    Handler handler = (Handler) info.handlers.get(handlerName);
-                    if (handler != null) {
-                        localRootLogger.addHandler(handler);
-                    }
-                }
-            }
-            
         }
         
     }



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


Mime
View raw message