1
0

Workaround for buggy reflection. Thanks to Dennis Lundberg for discovering this problem.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@345332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2005-11-17 21:39:26 +00:00
parent 010135be0d
commit 001f359d58

View File

@@ -86,7 +86,7 @@ public class Log4J12Logger implements Log, Serializable {
// 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;