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

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/main by this push:
     new 57a15ce311 Fix `JsonTemplateLayout` coordinates in docs (#3041)
57a15ce311 is described below

commit 57a15ce3119d5042426708068ae99c5e62ae704a
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Oct 1 13:30:25 2024 +0200

    Fix `JsonTemplateLayout` coordinates in docs (#3041)
---
 src/site/antora/modules/ROOT/pages/components.adoc                | 8 ++++----
 .../antora/modules/ROOT/pages/manual/json-template-layout.adoc    | 2 +-
 ...-json-template-layout.adoc => log4j-layout-template-json.adoc} | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/site/antora/modules/ROOT/pages/components.adoc 
b/src/site/antora/modules/ROOT/pages/components.adoc
index 4b99ac7335..cbc79d63be 100644
--- a/src/site/antora/modules/ROOT/pages/components.adoc
+++ b/src/site/antora/modules/ROOT/pages/components.adoc
@@ -350,21 +350,21 @@ xref:manual/api.adoc[].
 
 include::partial$components/log4j-kit.adoc[]
 
-[#log4j-json-template-layout]
-== `log4j-json-template-layout`
+[#log4j-layout-template-json]
+== `log4j-layout-template-json`
 
 |===
 | JPMS module
 | `org.apache.logging.log4j.json.template.layout`
 |===
 
-The `log4j-json-template-layout` contains a highly extensible and configurable
+The `log4j-layout-template-json` contains a highly extensible and configurable
 xref:manual/layouts.adoc[layout]
 to format log events as JSON.
 
 See xref:manual/json-template-layout.adoc[] for details.
 
-include::partial$components/log4j-json-template-layout.adoc[]
+include::partial$components/log4j-layout-template-json.adoc[]
 
 [#log4j-mongodb]
 == `log4j-mongodb`
diff --git 
a/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc 
b/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
index 51d29fc612..6f20199718 100644
--- a/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc
@@ -39,7 +39,7 @@ While running tests or developing locally, you can use 
xref:manual/pattern-layou
 
 Adding `log4j-layout-template-json` artifact to your list of dependencies is 
enough to enable access to JSON Template Layout in your Log4j configuration:
 
-include::partial$components/log4j-json-template-layout.adoc[]
+include::partial$components/log4j-layout-template-json.adoc[]
 
 JSON Template Layout is primarily configured through an *event template* 
describing the structure log events should be JSON-encoded in.
 Event templates themselves are also JSON documents, where objects containing 
`$resolver` members, such as,
diff --git 
a/src/site/antora/modules/ROOT/partials/components/log4j-json-template-layout.adoc
 
b/src/site/antora/modules/ROOT/partials/components/log4j-layout-template-json.adoc
similarity index 90%
rename from 
src/site/antora/modules/ROOT/partials/components/log4j-json-template-layout.adoc
rename to 
src/site/antora/modules/ROOT/partials/components/log4j-layout-template-json.adoc
index 2c620c4e4c..6789e3f5c6 100644
--- 
a/src/site/antora/modules/ROOT/partials/components/log4j-json-template-layout.adoc
+++ 
b/src/site/antora/modules/ROOT/partials/components/log4j-layout-template-json.adoc
@@ -25,7 +25,7 @@ We assume you use xref:components.adoc#log4j-bom[`log4j-bom`] 
for dependency man
 ----
 <dependency>
   <groupId>org.apache.logging.log4j</groupId>
-  <artifactId>log4j-json-template-layout</artifactId>
+  <artifactId>log4j-layout-template-json</artifactId>
   <scope>runtime</scope>
 </dependency>
 ----
@@ -36,6 +36,6 @@ We assume you use xref:components.adoc#log4j-bom[`log4j-bom`] 
for dependency man
 +
 [source,groovy,subs="+attributes"]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-json-template-layout'
+runtimeOnly 'org.apache.logging.log4j:log4j-layout-template-json'
 ----
 ====
\ No newline at end of file

Reply via email to