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 2024/04/17 09:07:00 UTC

(logging-log4j2) 07/08: Minor improvements

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

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

commit d5b7a529b1f1765b7aad980197e1202c89320349
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed Apr 17 11:06:34 2024 +0200

    Minor improvements
---
 .../modules/ROOT/pages/manual/installation.adoc      | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/site/antora/modules/ROOT/pages/manual/installation.adoc b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
index e2c31b8fe6..5be10b763f 100644
--- a/src/site/antora/modules/ROOT/pages/manual/installation.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/installation.adoc
@@ -227,7 +227,7 @@ Maven::
         <artifactId>log4j-core</artifactId>
         <scope>runtime</scope>
     </dependency>
-    <!-- Logging API bridges will follow, if necessary -->
+    <!-- Logging API bridges will follow... -->
 </dependencies>
 ----
 
@@ -236,7 +236,7 @@ Gradle::
 [source,groovy]
 ----
 runtimeOnly 'org.apache.logging.log4j:log4j-core'
-// Logging API bridges will follow, if necessary
+// Logging API bridges will follow...
 ----
 ====
 
@@ -257,6 +257,7 @@ Maven::
 +
 [source,xml]
 ----
+<!-- SLF4J-to-Log4j bridge -->
 <dependency>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j-slf4j2-impl</artifactId>
@@ -268,7 +269,7 @@ Gradle::
 +
 [source,groovy]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-slf4j2-impl'
+runtimeOnly 'org.apache.logging.log4j:log4j-slf4j2-impl' // SLF4J-to-Log4j bridge
 ----
 ====
 
@@ -283,6 +284,7 @@ Maven::
 +
 [source,xml]
 ----
+<!-- JUL-to-Log4j bridge -->
 <dependency>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j-jul</artifactId>
@@ -294,7 +296,7 @@ Gradle::
 +
 [source,groovy]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-jul'
+runtimeOnly 'org.apache.logging.log4j:log4j-jul' // JUL-to-Log4j bridge
 ----
 ====
 
@@ -318,6 +320,7 @@ Maven::
 +
 [source,xml]
 ----
+<!-- JPL-to-Log4j bridge -->
 <dependency>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j-jpl</artifactId>
@@ -329,7 +332,7 @@ Gradle::
 +
 [source,groovy]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-jpl'
+runtimeOnly 'org.apache.logging.log4j:log4j-jpl' // JPL-to-Log4j bridge
 ----
 ====
 
@@ -581,8 +584,8 @@ Gradle::
 +
 [source,groovy,subs="+attributes"]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-to-jul'
-runtimeOnly 'org.slf4j:slf4j-jdk14:{slf4j-version}'
+runtimeOnly 'org.apache.logging.log4j:log4j-to-jul' // Log4j-to-JUL bridge
+runtimeOnly 'org.slf4j:slf4j-jdk14:{slf4j-version}' // SLF4J-to-JUL bridge
 ----
 ====
 
@@ -619,9 +622,8 @@ Gradle::
 +
 [source,groovy,subs="+attributes"]
 ----
-runtimeOnly 'org.apache.logging.log4j:log4j-jul'
-runtimeOnly 'org.apache.logging.log4j:log4j-to-slf4j'
 runtimeOnly 'ch.qos.logback:logback-classic:{logback-version}'
+runtimeOnly 'org.apache.logging.log4j:log4j-to-slf4j' // Log4j-to-SLF4J bridge
 ----
 ====