[LOG4J2-1226] Update documentation on default layouts for appenders to match 
current implementation


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

Branch: refs/heads/LOG4J-1181
Commit: 9f6cc8786e53d65bed05eacf70e4ab7153bad5a0
Parents: 0c52e34
Author: Mikael StÃ¥ldal <[email protected]>
Authored: Mon Jul 25 18:12:20 2016 +0200
Committer: Mikael StÃ¥ldal <[email protected]>
Committed: Mon Jul 25 18:12:20 2016 +0200

----------------------------------------------------------------------
 src/site/xdoc/manual/appenders.xml | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9f6cc878/src/site/xdoc/manual/appenders.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/appenders.xml 
b/src/site/xdoc/manual/appenders.xml
index 13ae2a4..c04c491 100644
--- a/src/site/xdoc/manual/appenders.xml
+++ b/src/site/xdoc/manual/appenders.xml
@@ -380,7 +380,8 @@
             <tr>
               <td>layout</td>
               <td>Layout</td>
-              <td>The Layout to use to format the LogEvent</td>
+              <td>The Layout to use to format the LogEvent. If no layout is 
supplied the default pattern layout
+                of "%m%n" will be used.</td>
             </tr>
             <tr>
               <td>locking</td>
@@ -1439,7 +1440,8 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
           <tr>
             <td>layout</td>
             <td>Layout</td>
-            <td>The Layout to use to format the LogEvent</td>
+            <td>The Layout to use to format the LogEvent. If no layout is 
supplied the default pattern layout
+              of "%m%n" will be used.</td>
           </tr>
           <tr>
             <td>name</td>
@@ -1848,7 +1850,8 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
           <tr>
                                                <td>layout</td>
                                                <td>Layout</td>
-                                               <td>The Layout to use to format 
the LogEvent</td>
+                                               <td>The Layout to use to format 
the LogEvent. If no layout is supplied the default pattern layout
+              of "%m%n" will be used.</td>
                                        </tr>
           <tr>
                                                <td>name</td>
@@ -2159,7 +2162,8 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
             <tr>
               <td>layout</td>
               <td>Layout</td>
-              <td>The Layout to use to format the LogEvent</td>
+              <td>The Layout to use to format the LogEvent. If no layout is 
supplied the default pattern layout
+                of "%m%n" will be used.</td>
             </tr>
 
             <tr>
@@ -3045,7 +3049,8 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
           <tr>
                                                <td>layout</td>
                                                <td>Layout</td>
-                                               <td>The Layout to use to format 
the LogEvent</td>
+                                               <td>The Layout to use to format 
the LogEvent. If no layout is supplied the default pattern layout
+              of "%m%n" will be used.</td>
                                        </tr>
 
           <tr>
@@ -3342,7 +3347,7 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
             <tr>
               <td>layout</td>
               <td>Layout</td>
-              <td>The Layout to use to format the LogEvent. The default is 
SerializedLayout.</td>
+              <td>The Layout to use to format the LogEvent. If no layout is 
supplied <a href="layouts.html#HTMLLayout">HTML layout</a> will be used.</td>
             </tr>
             <tr>
               <td>name</td>
@@ -3805,9 +3810,8 @@ public class JpaLogEntity extends 
AbstractLogEventWrapperEntity {
             <tr>
               <td>Layout</td>
               <td>layout</td>
-              <td>The Layout of the Appender. If you do not specify a layout, 
the appender uses the default
-              pattern appender returned by
-              <a 
href="https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/layout/PatternLayout.html#createDefaultLayout()">PatternLayout.createDefaultLayout()</a>.</td>
+              <td>The Layout to use to format the LogEvent. If no layout is 
supplied the default pattern layout
+                of "%m%n" will be used.</td>
             </tr>
             <tr>
               <td>Filters</td>

Reply via email to