You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/08/14 22:50:57 UTC

svn commit: r1514038 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java

Author: ggregory
Date: Wed Aug 14 20:50:57 2013
New Revision: 1514038

URL: http://svn.apache.org/r1514038
Log:
[LOG4J2-353] Use consistent conventions in configuration files: Use CamelCase for XML elements.

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java?rev=1514038&r1=1514037&r2=1514038&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java (original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java Wed Aug 14 20:50:57 2013
@@ -30,18 +30,18 @@ public class Log4jInitPerformance {
     @Test
     public void testInitialize() throws Exception {
         final String log4jConfigString =
-            "<configuration name=\"ConfigTest\" status=\"debug\" >" +
-                "<appenders>" +
+            "<Configuration name=\"ConfigTest\" status=\"debug\" >" +
+                "<Appenders>" +
                 " <Console name=\"STDOUT\">" +
                 "    <PatternLayout pattern=\"%m%n\"/>" +
                 " </Console>" +
-                "</appenders>" +
-                "<loggers>" +
-                "  <root level=\"error\">" +
+                "</Appenders>" +
+                "<Loggers>" +
+                "  <Root level=\"error\">" +
                 "    <AppenderRef ref=\"STDOUT\"/>" +
-                "  </root>" +
-                "</loggers>" +
-                "</configuration>";
+                "  </Root>" +
+                "</Loggers>" +
+                "</Configuration>";
         final InputStream is = new ByteArrayInputStream(log4jConfigString.getBytes());
         final ConfigurationFactory.ConfigurationSource source =
             new ConfigurationFactory.ConfigurationSource(is);