logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1584465 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jContextFactory.java
Date Thu, 03 Apr 2014 23:24:53 GMT
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) {



Mime
View raw message