commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r345332 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
Date Thu, 17 Nov 2005 21:39:30 GMT
Author: rdonkin
Date: Thu Nov 17 13:39:26 2005
New Revision: 345332

URL: http://svn.apache.org/viewcvs?rev=345332&view=rev
Log:
Workaround for buggy reflection. Thanks to Dennis Lundberg for discovering this problem.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java?rev=345332&r1=345331&r2=345332&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
Thu Nov 17 13:39:26 2005
@@ -86,7 +86,7 @@
         // calls to Log.trace(...) onto the DEBUG level.
         
         try {
-            traceLevel = (Priority) Priority.class.getDeclaredField("TRACE").get(null);
+            traceLevel = (Priority) Level.class.getDeclaredField("TRACE").get(null);
         } catch(Exception ex) {
             // ok, trace not available
             traceLevel = Priority.DEBUG;



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


Mime
View raw message