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 2019/12/10 19:38:45 UTC
[logging-log4j2] branch master updated: Fix layout wording
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new 725e1e0 Fix layout wording
725e1e0 is described below
commit 725e1e0a138bf85b8cc854cc3eca79521836625a
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Tue Dec 10 12:38:34 2019 -0700
Fix layout wording
---
src/site/asciidoc/manual/layouts.adoc | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/site/asciidoc/manual/layouts.adoc b/src/site/asciidoc/manual/layouts.adoc
index d2c260a..16d006e 100644
--- a/src/site/asciidoc/manual/layouts.adoc
+++ b/src/site/asciidoc/manual/layouts.adoc
@@ -387,11 +387,10 @@ character "[" at the start of the document, "]" and the end, nor comma
=== Pretty vs. compact JSON
-By default, the JSON layout is not compact (a.k.a. "pretty") with
-`compact="false"`, which means the appender uses end-of-line characters
-and indents lines to format the text. If `compact="true"`, then no
-end-of-line or indentation is used. Message content may contain, of
-course, escaped end-of-lines.
+The compact attribute determines whether the output will be "pretty" or not. The default value is "false",
+which means the appender uses end-of-line characters and indents lines to format the text. If
+`compact="true"`, then no end-of-line or indentation is used, which will cause the output
+to take less space. Of course, the message content may contain, escaped end-of-lines.
.JsonLayout Parameters
[cols="1m,1,4"]