You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/04/04 01:24:53 UTC

svn commit: r1584465 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java

Author: mattsicker
Date: Thu Apr  3 23:24:53 2014
New Revision: 1584465

URL: http://svn.apache.org/r1584465
Log:
Update status logging.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java?rev=1584465&r1=1584464&r2=1584465&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java Thu Apr  3 23:24:53 2014
@@ -50,7 +50,7 @@ public class Log4jContextFactory impleme
                     selector = (ContextSelector) clazz.newInstance();
                 }
             } catch (final Exception ex) {
-                LOGGER.error("Unable to create context " + sel, ex);
+                LOGGER.error("Unable to create context {}", sel, ex);
             }
         }
         if (selector == null) {