logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1490143 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java
Date Thu, 06 Jun 2013 05:10:05 GMT
Author: ggregory
Date: Thu Jun  6 05:10:05 2013
New Revision: 1490143

URL: http://svn.apache.org/r1490143
Log:
Log a useful string for the options array.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java?rev=1490143&r1=1490142&r2=1490143&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/AbstractStyleNameConverter.java
Thu Jun  6 05:10:05 2013
@@ -18,6 +18,7 @@ package org.apache.logging.log4j.core.pa
 
 import java.lang.reflect.Constructor;
 import java.lang.reflect.InvocationTargetException;
+import java.util.Arrays;
 import java.util.List;
 
 import org.apache.logging.log4j.core.LogEvent;
@@ -359,7 +360,7 @@ public abstract class AbstractStyleNameC
         }
         final PatternParser parser = PatternLayout.createPatternParser(config);
         if (parser == null) {
-            LOGGER.error("No PatternParser created for config=" + config + ", options=" +
options);
+            LOGGER.error("No PatternParser created for config=" + config + ", options=" +
Arrays.toString(options));
             return null;
         }
         return parser.parse(options[0]);



Mime
View raw message