You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/03/26 06:03:12 UTC

[3/4] logging-log4j2 git commit: LOG4J2-1324 Documentation updates for the new exception handlers.

LOG4J2-1324 Documentation updates for the new exception handlers.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/f788207a
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/f788207a
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/f788207a

Branch: refs/heads/master
Commit: f788207a3dba0d5bb1885a1ae155a590333daf1f
Parents: 4bb7d6d
Author: rpopma <rp...@apache.org>
Authored: Sat Mar 26 14:02:34 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Sat Mar 26 14:02:34 2016 +0900

----------------------------------------------------------------------
 src/site/xdoc/manual/async.xml            | 12 ++++++++++--
 src/site/xdoc/manual/configuration.xml.vm |  5 ++---
 2 files changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f788207a/src/site/xdoc/manual/async.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/async.xml b/src/site/xdoc/manual/async.xml
index 36c7ebe..c95a805 100644
--- a/src/site/xdoc/manual/async.xml
+++ b/src/site/xdoc/manual/async.xml
@@ -186,12 +186,16 @@
           <tr>
             <td>AsyncLogger.ExceptionHandler</td>
             <td>
-              <tt>null</tt>
+              <tt>default handler</tt>
             </td>
             <td>
               Fully qualified name of a class that implements the <tt>com.lmax.disruptor.ExceptionHandler</tt>
               interface. The class needs to have a public zero-argument constructor.
               If specified, this class will be notified when an exception occurs while logging the messages.
+              <p>
+                If not specified, the default exception handler will print a message and stack trace to the standard
+                error output stream.
+              </p>
             </td>
           </tr>
           <tr>
@@ -347,12 +351,16 @@
           <tr>
             <td>AsyncLoggerConfig.ExceptionHandler</td>
             <td>
-              <tt>null</tt>
+              <tt>default handler</tt>
             </td>
             <td>
               Fully qualified name of a class that implements the <tt>com.lmax.disruptor.ExceptionHandler</tt>
               interface. The class needs to have a public zero-argument constructor.
               If specified, this class will be notified when an exception occurs while logging the messages.
+              <p>
+                If not specified, the default exception handler will print a message and stack trace to the standard
+                error output stream.
+              </p>
             </td>
           </tr>
           <tr>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f788207a/src/site/xdoc/manual/configuration.xml.vm
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/configuration.xml.vm b/src/site/xdoc/manual/configuration.xml.vm
index 18d53b2..773d5d3 100644
--- a/src/site/xdoc/manual/configuration.xml.vm
+++ b/src/site/xdoc/manual/configuration.xml.vm
@@ -1798,8 +1798,7 @@ public class AwesomeTest {
   </tr>
   <tr>
     <td>AsyncLogger.ExceptionHandler</td>
-    <td>&nbsp;
-    </td>
+    <td>default handler</td>
     <td>
       See <a href="async.html#SysPropsAllAsync">Async Logger System Properties</a> for details.
     </td>
@@ -1831,7 +1830,7 @@ public class AwesomeTest {
   </tr>
   <tr>
     <td>AsyncLoggerConfig.ExceptionHandler</td>
-    <td>&nbsp;    </td>
+    <td>default handler</td>
     <td>
       See <a href="async.html#SysPropsMixedSync-Async">Mixed Async/Synchronous Logger System Properties</a> for details.
     </td>