You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2012/02/14 08:06:37 UTC

svn commit: r1243795 - /cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java

Author: ningjiang
Date: Tue Feb 14 07:06:36 2012
New Revision: 1243795

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

Modified:
    cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java

Modified: cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java?rev=1243795&r1=1243794&r2=1243795&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java (original)
+++ cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java Tue Feb 14 07:06:36 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) {