logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396228 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
Date Tue, 09 Oct 2012 19:41:24 GMT
Author: ggregory
Date: Tue Oct  9 19:41:23 2012
New Revision: 1396228

URL: http://svn.apache.org/viewvc?rev=1396228&view=rev
Log:
Make status logger static and final.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java?rev=1396228&r1=1396227&r2=1396228&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
Tue Oct  9 19:41:23 2012
@@ -29,9 +29,9 @@ import org.apache.logging.log4j.spi.Logg
  */
 public class Log4jContextFactory implements LoggerContextFactory {
 
-    private ContextSelector selector;
+    private static final StatusLogger logger = StatusLogger.getLogger();
 
-    private StatusLogger logger = StatusLogger.getLogger();
+    private ContextSelector selector;
 
     /**
      * Constructor that initializes the ContextSelector.



Mime
View raw message