logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1456452 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/filters.xml
Date Thu, 14 Mar 2013 14:32:51 GMT
Author: ggregory
Date: Thu Mar 14 14:32:51 2013
New Revision: 1456452

URL: http://svn.apache.org/r1456452
Log:
Fix pretty formatting for XML.

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

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/filters.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/filters.xml?rev=1456452&r1=1456451&r2=1456452&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/filters.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/filters.xml Thu Mar 14 14:32:51 2013
@@ -594,7 +594,7 @@
           </p>
           <p>
             The ThreadContextMapFilter can also be applied to a logger for filtering:
-            <source><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+            <pre class="prettyprint linenums"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <configuration status="warn" name="MyApp" packages="">
   <appenders>
     <RollingFile name="RollingFile" fileName="logs/app.log"
@@ -616,7 +616,7 @@
     </root>
   </loggers>
 </configuration>
-  ]]></source>
+  ]]></pre>
           </p>
         </subsection>
         <a name="ThresholdFilter"/>



Mime
View raw message