[slf4j-dev] svn commit: r1317 - in slf4j/trunk: jcl-over-slf4j jcl-over-slf4j/src/test/java/org/apache/commons/logging slf4j-site/src/site/pages

ceki at slf4j.org ceki at slf4j.org
Fri Apr 17 20:13:18 CEST 2009


Author: ceki
Date: Fri Apr 17 20:13:18 2009
New Revision: 1317

Modified:
   slf4j/trunk/jcl-over-slf4j/pom.xml
   slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/InvokeJCLTest.java
   slf4j/trunk/slf4j-site/src/site/pages/news.html

Log:
- make tests pass
- add blurb on fixed bugs in news.html

Modified: slf4j/trunk/jcl-over-slf4j/pom.xml
==============================================================================
--- slf4j/trunk/jcl-over-slf4j/pom.xml	(original)
+++ slf4j/trunk/jcl-over-slf4j/pom.xml	Fri Apr 17 20:13:18 2009
@@ -27,6 +27,12 @@
       <scope>provided</scope>
     </dependency>
     -->
+
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-jdk14</artifactId>

Modified: slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/InvokeJCLTest.java
==============================================================================
--- slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/InvokeJCLTest.java	(original)
+++ slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/InvokeJCLTest.java	Fri Apr 17 20:13:18 2009
@@ -40,14 +40,14 @@
 public class InvokeJCLTest extends TestCase {
 
   public void testIsEnabledAPI() {
-    // assume that we are running over slf4j-simple
+    // assume that we are running over slf4j-jdk14
     Log log = LogFactory.getLog(InvokeJCLTest.class);
     assertFalse(log.isTraceEnabled());
     assertFalse(log.isDebugEnabled());
-    assertFalse(log.isInfoEnabled());
-    assertFalse(log.isWarnEnabled());
-    assertFalse(log.isErrorEnabled());
-    assertFalse(log.isFatalEnabled());
+    assertTrue(log.isInfoEnabled());
+    assertTrue(log.isWarnEnabled());
+    assertTrue(log.isErrorEnabled());
+    assertTrue(log.isFatalEnabled());
   }
   
   public void testPrintAPI() {

Modified: slf4j/trunk/slf4j-site/src/site/pages/news.html
==============================================================================
--- slf4j/trunk/slf4j-site/src/site/pages/news.html	(original)
+++ slf4j/trunk/slf4j-site/src/site/pages/news.html	Fri Apr 17 20:13:18 2009
@@ -29,6 +29,20 @@
 
   <h3>April x, 2009 - Release of SLF4J 1.5.7</h3>
 
+
+  <p>The Log interface implementations in the jcl-over-slf4j module
+  will now correctly cope with serialization. This fixes <a
+  href="http://bugzilla.slf4j.org/show_bug.cgi?id=79">bug 79</a>
+  reported by Mathias Bogaert. Many thanks to Eric Vargo for precisely
+  identifying the problem and supplying the corresponding patch.</p>
+
+  <p>The log4j-over-slf4j module will now correctly
+  interact with logging frameworks supporting location information
+  such as java.util.logging and logback.  This fixes <a
+  href="http://bugzilla.slf4j.org/show_bug.cgi?id=131">bug 131</a>
+  reported by Marc Zampetti.
+  </p>
+
   <p><code>SLF4JBridgeHandler</code> will no longer ignore log records
   with an empty message. This fixes <a
   href="http://bugzilla.slf4j.org/show_bug.cgi?id=108">bug 108</a>



More information about the slf4j-dev mailing list