harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r425619 - /incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
Date Wed, 26 Jul 2006 04:50:56 GMT
Author: ndbeyer
Date: Tue Jul 25 21:50:56 2006
New Revision: 425619

URL: http://svn.apache.org/viewvc?rev=425619&view=rev
Log:
LogManager static init wasn't calling public readConfiguration method, so a custom LogManager
wasn't getting setup correctly.

This was found while working with Tomcat 5.5, which override LogManager with a custom implementation
called JULI.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java?rev=425619&r1=425618&r2=425619&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
Tue Jul 25 21:50:56 2006
@@ -183,7 +183,7 @@
         manager.loggers.put("", manager.root); //$NON-NLS-1$
         // read configuration
         try {
-            manager.readConfigurationImpl();
+            manager.readConfiguration();
         } catch (Exception e) {
             e.printStackTrace();
         }
@@ -413,9 +413,7 @@
                     className);
             return clazz.newInstance();
         } catch (Exception e) {
-            System.err
-                    .println("Cannot get instance for class name:" + className); //$NON-NLS-1$
-            System.err.println("Caused by " + e.toString()); //$NON-NLS-1$
+            e.printStackTrace();
             return null;
         }
 



Mime
View raw message