logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514038 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/Log4jInitPerformance.java
Date Wed, 14 Aug 2013 20:50:57 GMT
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);



Mime
View raw message