[slf4j-dev] svn commit: r824 - slf4j/trunk/slf4j-log4j12/src/main/java/org/slf4j/impl

ceki at slf4j.org ceki at slf4j.org
Mon Jul 2 20:40:51 CEST 2007


Author: ceki
Date: Mon Jul  2 20:40:51 2007
New Revision: 824

Modified:
   slf4j/trunk/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jLoggerAdapter.java

Log:

As reported by Heinrich Nirsch [1], the trace(String) method in Log44jLoggerAdapter 
was incorrectly calling log4j at level DEBUG instead of TRACE. 

[1] http://bugzilla.slf4j.org/show_bug.cgi?id=53


Modified: slf4j/trunk/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jLoggerAdapter.java
==============================================================================
--- slf4j/trunk/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jLoggerAdapter.java	(original)
+++ slf4j/trunk/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jLoggerAdapter.java	Mon Jul  2 20:40:51 2007
@@ -87,7 +87,7 @@
    * @param msg - the message object to be logged
    */
   public void trace(String msg) {
-    logger.log(FQCN, Level.DEBUG, msg, null);
+    logger.log(FQCN, Level.TRACE, msg, null);
   }
 
   /**



More information about the slf4j-dev mailing list