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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to