You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2020/08/25 07:38:46 UTC

[logging-log4j2] branch master updated: #335 Add Velocity support to JsonTemplateLayout manual.

This is an automated email from the ASF dual-hosted git repository.

vy 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 05288f4  #335 Add Velocity support to JsonTemplateLayout manual.
05288f4 is described below

commit 05288f49bd6d5c0a6fb3ab9f7cbbc11ebef2ada7
Author: Volkan Yazıcı <vo...@gmail.com>
AuthorDate: Tue Aug 25 09:36:56 2020 +0200

    #335 Add Velocity support to JsonTemplateLayout manual.
---
 .../{json-template-layout.adoc => json-template-layout.adoc.vm}   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/site/asciidoc/manual/json-template-layout.adoc b/src/site/asciidoc/manual/json-template-layout.adoc.vm
similarity index 99%
rename from src/site/asciidoc/manual/json-template-layout.adoc
rename to src/site/asciidoc/manual/json-template-layout.adoc.vm
index f520796..c2da984 100644
--- a/src/site/asciidoc/manual/json-template-layout.adoc
+++ b/src/site/asciidoc/manual/json-template-layout.adoc.vm
@@ -37,7 +37,7 @@ enough to enable access to `JsonTemplateLayout` in your Log4j configuration:
 <dependency>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j-layout-json-template</artifactId>
-    <version>${log4j.version}</version>
+    <version>${Log4jReleaseVersion}</version>
 </dependency>
 ----
 
@@ -1181,9 +1181,9 @@ alternatives.
 [#faq-lookups]
 === Are lookups supported in templates?
 
-Yes, link:lookups.html[lookups] (e.g., `${java:version}`, `${env:USER}`,
-`${date:MM-dd-yyyy}`) are supported in string literals of templates. Though note
-that they are not garbage-free.
+Yes, link:lookups.html[lookups] (e.g., `${dollar}{java:version}`,
+`${dollar}{env:USER}`, `${dollar}{date:MM-dd-yyyy}`) are supported in string
+literals of templates. Though note that they are not garbage-free.
 
 [#faq-garbage-free]
 === Is `JsonTemplateLayout` garbage-free?