[slf4j-dev] svn commit: r1189 - slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl
ceki at slf4j.org
ceki at slf4j.org
Wed Oct 15 23:57:02 CEST 2008
Author: ceki
Date: Wed Oct 15 23:57:02 2008
New Revision: 1189
Removed:
slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl/NOPLoggerFactory.java
Modified:
slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
Log:
Fixing bug 106
Essentially, loggerFactory is now momentarily set to NOPLoggerFactory while the
underlying logging system auto-configures itself.
http://bugzilla.slf4j.org/show_bug.cgi?id=106
Modified: slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl/StaticLoggerBinder.java
==============================================================================
--- slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl/StaticLoggerBinder.java (original)
+++ slf4j/trunk/slf4j-nop/src/main/java/org/slf4j/impl/StaticLoggerBinder.java Wed Oct 15 23:57:02 2008
@@ -35,6 +35,7 @@
import org.slf4j.ILoggerFactory;
import org.slf4j.LoggerFactory;
+import org.slf4j.helpers.NOPLoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
/**
@@ -65,7 +66,6 @@
private final ILoggerFactory loggerFactory;
private StaticLoggerBinder() {
-// Note: JCL gets substituted at build time by an appropriate Ant task
loggerFactory = new NOPLoggerFactory();
}
More information about the slf4j-dev
mailing list