cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1243795 - /cxf/branches/2.5.x-fixes/common/common/src/main/java/org/apache/cxf/common/logging/Slf4jLogger.java
Date Tue, 14 Feb 2012 07:06:37 GMT
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) {



Mime
View raw message