logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1420708 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml
Date Wed, 12 Dec 2012 14:41:02 GMT
Author: ggregory
Date: Wed Dec 12 14:41:01 2012
New Revision: 1420708

URL: http://svn.apache.org/viewvc?rev=1420708&view=rev
Log:
Use the active voice. Change long sentence into list.

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml?rev=1420708&r1=1420707&r2=1420708&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/thread-context.xml Wed Dec 12 14:41:01
2012
@@ -111,9 +111,19 @@ ThreadContext.clear();</pre>
           </p>
           <h4>Including the ThreadContext when writing logs</h4>
           <p>
-            The PatternLayout provides mechanisms to print the contents of the ThreadContext
Map and Stack. Using
-            %X by itself will cause the full contents of the Map to be included while %X{key}
will cause the value
-            of the specified key to be included. %x will include the full contents of the
Stack.
+            The <a href="../log4j-api/apidocs/org/apache/logging/log4j/core/PatternLayout.html">PatternLayout</a>
+            provides mechanisms to print the contents of the 
+            <a href="../log4j-api/apidocs/org/apache/logging/log4j/ThreadContext.html">ThreadContext</a>

+            Map and Stack. 
+            <ul>
+              Use <code>%X</code> by itself to include the full contents of the
Map.
+            </ul>
+            <ul>
+              Use <code>%X{key}</code> to include the specified key. 
+            </ul>
+            <ul>
+              Use <code>%x</code> to include the full contents of the <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Stack.html">Stack</a>.
+            </ul>
           </p>
         </subsection>
       </section>



Mime
View raw message