You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2015/10/13 06:09:41 UTC

[45/50] logging-log4j2 git commit: fixed wrong default values in docs for PatternLayout charset and %d; language nits

fixed wrong default values in docs for PatternLayout charset and %d;
language nits


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

Branch: refs/heads/master
Commit: efa2c82a91570fd1054e3ac345bc973c89fa17db
Parents: c539c17
Author: rpopma <rp...@apache.org>
Authored: Tue Oct 6 15:34:12 2015 +0200
Committer: Ralph Goers <rg...@nextiva.com>
Committed: Sun Oct 11 12:40:44 2015 -0700

----------------------------------------------------------------------
 src/site/xdoc/manual/layouts.xml.vm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/efa2c82a/src/site/xdoc/manual/layouts.xml.vm
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/layouts.xml.vm b/src/site/xdoc/manual/layouts.xml.vm
index 8ec444c..e29de73 100644
--- a/src/site/xdoc/manual/layouts.xml.vm
+++ b/src/site/xdoc/manual/layouts.xml.vm
@@ -46,12 +46,12 @@
         </p>
         <p>
           The root class for layouts that use a Charset is <code>org.apache.logging.log4j.core.layout.AbstractStringLayout</code> 
-          where the default there is UTF-8. Each layout that extends <code>org.apache.logging.log4j.core.layout.AbstractStringLayout</code> 
+          where the default is UTF-8. Each layout that extends <code>org.apache.logging.log4j.core.layout.AbstractStringLayout</code> 
           can provide its own default. See each layout below.
         </p>
         <p>
           A custom character encoder was added to Log4j 2.4.1 for the ISO-8859-1 and US-ASCII charsets,
-          backporting the performance improvements built-in to Java 8 to Log4j for use on Java 7.
+          to bring some of the performance improvements built-in to Java 8 to Log4j for use on Java 7.
           For applications that log only ISO-8859-1 characters, specifying this charset will improve performance significantly.
         </p>
         <a name="CSVLayouts"/>
@@ -401,7 +401,7 @@ WARN  [main]: Message 2</pre>
               <td>charset</td>
               <td>String</td>
               <td>The character set to use when converting the syslog String to a byte array. The String must be
-                a valid ${Charset}. If not specified, this layout uses UTF-8.
+                a valid ${Charset}. If not specified, this layout uses the platform default character set.
               </td>
             </tr>
             <tr>
@@ -557,7 +557,7 @@ WARN  [main]: Message 2</pre>
                 </p>
                 <p>You can also use a set of braces containing a time zone id per
                   <a class="javadoc" href="${javadocRoot}/java/util/TimeZone.html${sharp}getTimeZone(java.lang.String)">
-                    java.util.TimeZone.getTimeZone</a>. If no date format specifier is given then ISO8601 format is assumed.
+                    java.util.TimeZone.getTimeZone</a>. If no date format specifier is given then the DEFAULT format is used.
                   <table>
                     <tr>
                       <th>Pattern</th>