This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/logging-log4j-site.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new d3b0068 Rename page
d3b0068 is described below
commit d3b0068e27cbff2a38913333fa20e56ee9f08a68
Author: rgoers <[email protected]>
AuthorDate: Sun Mar 7 15:32:05 2021 -0700
Rename page
---
...te-layout.vm.html => json-template-layout.html} | 38 +++++++++++++++-------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/log4j-2.14.1/manual/json-template-layout.vm.html
b/log4j-2.14.1/manual/json-template-layout.html
similarity index 97%
rename from log4j-2.14.1/manual/json-template-layout.vm.html
rename to log4j-2.14.1/manual/json-template-layout.html
index 9741744..1a1918c 100644
--- a/log4j-2.14.1/manual/json-template-layout.vm.html
+++ b/log4j-2.14.1/manual/json-template-layout.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.1 from
src/site/asciidoc/manual/json-template-layout.vm.adoc at 2021-03-06
+ | Generated by Apache Maven Doxia Site Renderer 1.9.1 from
src/site/asciidoc/manual/json-template-layout.adoc.vm at 2021-03-07
| Rendered using Apache Maven Fluido Skin 1.8
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
@@ -25,7 +25,7 @@
<div id="breadcrumbs">
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2021-03-06<span
class="divider">|</span>
+ <li id="publishDate">Last Published: 2021-03-07<span
class="divider">|</span>
</li>
<li id="projectVersion">Version: 2.14.1</li>
<li class="pull-right"><span class="divider">|</span>
@@ -73,7 +73,21 @@
<li><a href="../manual/webapp.html" title="Web Applications and
JSPs"><span class="icon-chevron-right"></span>Web Applications and JSPs</a></li>
<li><a href="../manual/lookups.html" title="Lookups"><span
class="icon-chevron-right"></span>Lookups</a></li>
<li><a href="../manual/appenders.html" title="Appenders"><span
class="icon-chevron-right"></span>Appenders</a></li>
- <li><a href="../manual/layouts.html" title="Layouts"><span
class="icon-chevron-right"></span>Layouts</a></li>
+ <li><a href="../manual/layouts.html" title="Layouts"><span
class="icon-chevron-down"></span>Layouts</a>
+ <ul class="nav nav-list">
+ <li><a href="../manual/layouts.html#CSVLayouts" title="CSV"><span
class="none"></span>CSV</a></li>
+ <li><a href="../manual/layouts.html#GELFLayout" title="GELF"><span
class="none"></span>GELF</a></li>
+ <li><a href="../manual/layouts.html#HTMLLayout" title="HTML"><span
class="none"></span>HTML</a></li>
+ <li><a href="../manual/layouts.html#JSONLayout" title="JSON"><span
class="none"></span>JSON</a></li>
+ <li class="active"><a href="#"><span class="none"></span>JSON
Template</a></li>
+ <li><a href="../manual/layouts.html#PatternLayout" title="Pattern"><span
class="none"></span>Pattern</a></li>
+ <li><a href="../manual/layouts.html#RFC5424Layout"
title="RFC-5424"><span class="none"></span>RFC-5424</a></li>
+ <li><a href="../manual/layouts.html#SerializedLayout"
title="Serialized"><span class="none"></span>Serialized</a></li>
+ <li><a href="../manual/layouts.html#SyslogLayout" title="Syslog"><span
class="none"></span>Syslog</a></li>
+ <li><a href="../manual/layouts.html#XMLLayout" title="XML"><span
class="none"></span>XML</a></li>
+ <li><a href="../manual/layouts.html#YamlLayout" title="YAML"><span
class="none"></span>YAML</a></li>
+ <li><a href="../manual/layouts.html#LocationInformation" title="Location
Information"><span class="none"></span>Location Information</a></li>
+ </ul></li>
<li><a href="../manual/filters.html" title="Filters"><span
class="icon-chevron-right"></span>Filters</a></li>
<li><a href="../manual/async.html" title="Async Loggers"><span
class="icon-chevron-right"></span>Async Loggers</a></li>
<li><a href="../manual/garbagefree.html" title="Garbage-free
Logging"><span class="icon-chevron-right"></span>Garbage-free Logging</a></li>
@@ -137,11 +151,9 @@
</div>
</header>
<main id="bodyColumn" class="span10" >
-<div class="paragraph">
-<p>#set($dollar = '$')
-= JSON Template Layout
-Volkan Yazıcı <<a href="mailto:[email protected]">[email protected]</a>></p>
-</div>
+<h1>JSON Template Layout</h1>
+<div id="preamble">
+<div class="sectionbody">
<div class="paragraph">
<p><code>JsonTemplateLayout</code> is a customizable, efficient, and
garbage-free JSON
emitting layout. It encodes <code>LogEvent</code>s according to the structure
described
@@ -158,6 +170,8 @@ by the JSON template provided. In a nutshell, it shines
with its</p>
</li>
</ul>
</div>
+</div>
+</div>
<div class="sect1">
<h2 id="usage">Usage</h2>
<div class="sectionbody">
@@ -170,7 +184,7 @@ enough to enable access to <code>JsonTemplateLayout</code>
in your Log4j configu
<pre class="highlight"><code class="language-xml"
data-lang="xml"><dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-layout-template-json</artifactId>
- <version>${Log4jReleaseVersion}</version>
+ <version>2.14.1</version>
</dependency></code></pre>
</div>
</div>
@@ -1435,7 +1449,7 @@ with the parent, otherwise creates a new JSON object
containing the values.</p>
</table>
</div>
<div class="paragraph">
-<p><code>"${dollar}resolver"</code> is left out in the following examples,
since it is to be
+<p><code>"$resolver"</code> is left out in the following examples, since it is
to be
defined by the actual resolver, e.g., <code>map</code>, <code>mdc</code>.</p>
</div>
<div class="paragraph">
@@ -1679,8 +1693,8 @@ alternatives.</p>
<div class="sect2">
<h3 id="faq-lookups">Are lookups supported in templates?</h3>
<div class="paragraph">
-<p>Yes, <a href="lookups.html">lookups</a> (e.g.,
<code>${dollar}{java:version}</code>,
-<code>${dollar}{env:USER}</code>, <code>${dollar}{date:MM-dd-yyyy}</code>) are
supported in string
+<p>Yes, <a href="lookups.html">lookups</a> (e.g., <code>${java:version}</code>,
+<code>${env:USER}</code>, <code>${date:MM-dd-yyyy}</code>) are supported in
string
literals of templates. Though note that they are not garbage-free.</p>
</div>
</div>