logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514085 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml
Date Wed, 14 Aug 2013 23:04:58 GMT
Author: ggregory
Date: Wed Aug 14 23:04:57 2013
New Revision: 1514085

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

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml?rev=1514085&r1=1514084&r2=1514085&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/async.xml Wed Aug 14 23:04:57 2013
@@ -151,21 +151,21 @@
 -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
      to make all loggers asynchronous. -->
 
-<configuration status="WARN">
-  <appenders>
+<Configuration status="WARN">
+  <Appenders>
     <!-- Async Loggers will auto-flush in batches, so switch off immediateFlush. -->
     <RandomAccessFile name="RandomAccessFile" fileName="async.log" immediateFlush="false"
append="false">
       <PatternLayout>
-        <pattern>%d %p %c{1.} [%t] %m %ex%n</pattern>
+        <Pattern>%d %p %c{1.} [%t] %m %ex%n</Pattern>
       </PatternLayout>
     </RandomAccessFile>
-  </appenders>
-  <loggers>
-    <root level="info" includeLocation="false">
+  </Appenders>
+  <Loggers>
+    <Root level="info" includeLocation="false">
       <AppenderRef ref="RandomAccessFile"/>
-    </root>
-  </loggers>
-</configuration>]]></pre>
+    </Root>
+  </Loggers>
+</Configuration>]]></pre>
 				</p>
 				<p>
 					When
@@ -347,26 +347,26 @@
 <!-- No need to set system property "Log4jContextSelector" to any value 
      when using <asyncLogger> or <asyncRoot>. -->
 
-<configuration status="WARN">
-  <appenders>
+<Configuration status="WARN">
+  <Appenders>
     <!-- Async Loggers will auto-flush in batches, so switch off immediateFlush. -->
     <RandomAccessFile name="RandomAccessFile" fileName="asyncWithLocation.log" 
               immediateFlush="false" append="false">
       <PatternLayout>
-        <pattern>%d %p %class{1.} [%t] %location %m %ex%n</pattern>
+        <Pattern>%d %p %class{1.} [%t] %location %m %ex%n</Pattern>
       </PatternLayout>
     </RandomAccessFile>
-  </appenders>
-  <loggers>
+  </Appenders>
+  <Loggers>
     <!-- pattern layout actually uses location, so we need to include it -->
-    <asyncLogger name="com.foo.Bar" level="trace" includeLocation="true">
+    <AsyncLogger name="com.foo.Bar" level="trace" includeLocation="true">
       <AppenderRef ref="RandomAccessFile"/>
-    </asyncLogger>
-    <root level="info" includeLocation="true">
+    </AsyncLogger>
+    <Root level="info" includeLocation="true">
       <AppenderRef ref="RandomAccessFile"/>
-    </root>
-  </loggers>
-</configuration>]]></pre>
+    </Root>
+  </Loggers>
+</Configuration>]]></pre>
 				</p>
 				<p>
 				There are a few system properties



Mime
View raw message