You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/06/02 23:10:25 UTC
logging-log4j2 git commit: Better docs related to LOG4J2-1038.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 301590018 -> a142d5ed2
Better docs related to LOG4J2-1038.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/a142d5ed
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/a142d5ed
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/a142d5ed
Branch: refs/heads/master
Commit: a142d5ed254f73a90470657f5056d75bfc4d2f0c
Parents: 3015900
Author: Gary Gregory <ga...@gmail.com>
Authored: Tue Jun 2 14:10:21 2015 -0700
Committer: Gary Gregory <ga...@gmail.com>
Committed: Tue Jun 2 14:10:21 2015 -0700
----------------------------------------------------------------------
src/site/xdoc/manual/layouts.xml.vm | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a142d5ed/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 c4929df..2e6a2dc 100644
--- a/src/site/xdoc/manual/layouts.xml.vm
+++ b/src/site/xdoc/manual/layouts.xml.vm
@@ -44,6 +44,11 @@
many more types of Appenders. However, this means you need to configure most Layouts with a ${Charset} to
ensure the byte array contains correct values.
</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>
+ can provide its own default. See each layout below.
+ </p>
<a name="JSONLayout"/>
<subsection name="JSONLayout">
<!-- From Javadoc of org.apache.logging.log4j.core.layout.JSONLayout -->