logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514268 - /logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java
Date Thu, 15 Aug 2013 13:37:12 GMT
Author: ggregory
Date: Thu Aug 15 13:37:12 2013
New Revision: 1514268

URL: http://svn.apache.org/r1514268
Log:
The value of the local variable context is not used.

Modified:
    logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java

Modified: logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java?rev=1514268&r1=1514267&r2=1514268&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java
(original)
+++ logging/log4j/log4j2/trunk/jcl-bridge/src/main/java/org/apache/logging/log4j/jcl/LogFactoryImpl.java
Thu Aug 15 13:37:12 2013
@@ -40,7 +40,6 @@ public class LogFactoryImpl extends LogF
 
     @Override
     public Log getInstance(final String name) throws LogConfigurationException {
-        final LoggerContext context = PrivateManager.getContext();
         final ConcurrentMap<String, Log> loggers = getLoggersMap();
         if (loggers.containsKey(name)) {
             return loggers.get(name);



Mime
View raw message