This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new c855272 Fix layout wording
c855272 is described below
commit c855272e8873ba6af4ae575f574ed3a95b4ecb35
Author: Ralph Goers <[email protected]>
AuthorDate: Tue Dec 10 12:38:51 2019 -0700
Fix layout wording
---
src/site/xdoc/manual/layouts.xml.vm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/site/xdoc/manual/layouts.xml.vm
b/src/site/xdoc/manual/layouts.xml.vm
index 36d711e..fcf7bc0 100644
--- a/src/site/xdoc/manual/layouts.xml.vm
+++ b/src/site/xdoc/manual/layouts.xml.vm
@@ -421,10 +421,10 @@ logger.debug("one={}, two={}, three={}", 1, 2, 3);
</p>
<h4>Pretty vs. compact JSON</h4>
<p>
- By default, the JSON layout is not compact (a.k.a. not "pretty")
with <code>compact="false"</code>, which
- means the appender uses end-of-line characters and indents lines to
format the text. If
- <code>compact="true"</code>, 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
+ <code>compact="true"</code>, 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.
</p>
<table>
<tr>