cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1243792 - /cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java
Date Tue, 14 Feb 2012 07:00:19 GMT
Author: ningjiang
Date: Tue Feb 14 07:00:19 2012
New Revision: 1243792

URL: http://svn.apache.org/viewvc?rev=1243792&view=rev
Log:
CXF-4105 fixed the mapping issue of Slf4jLogger

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java?rev=1243792&r1=1243791&r2=1243792&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java Tue Feb 14
07:00:19 2012
@@ -66,7 +66,7 @@ public class Slf4jLogger extends Abstrac
         Level level;
         // Verify from the wider (trace) to the narrower (error)
         if (logger.isTraceEnabled()) {
-            level = Level.FINER; // FINEST
+            level = Level.FINEST;
         } else if (logger.isDebugEnabled()) {
             // map to the lowest between FINER, FINE and CONFIG
             level = Level.FINER;
@@ -114,7 +114,7 @@ public class Slf4jLogger extends Abstrac
             if (locationAwareLogger == null) {
                 logger.trace(msg, t);
             } else {
-                locationAwareLogger.log(null, FQCN, LocationAwareLogger.TRACE_INT, msg, null,
t);
+                locationAwareLogger.log(null, FQCN, LocationAwareLogger.DEBUG_INT, msg, null,
t);
             }
         } else if (Level.FINEST.equals(level)) {
             if (locationAwareLogger == null) {



Mime
View raw message