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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new d835445fc8 Add a link to the Log4j docs for how to replace JULI with 
Log4j
d835445fc8 is described below

commit d835445fc84f446f094c3dd0d1342b4120f0a019
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 11 08:43:52 2025 +0000

    Add a link to the Log4j docs for how to replace JULI with Log4j
---
 webapps/docs/changelog.xml |  8 ++++++++
 webapps/docs/logging.xml   | 15 ++++++++++++---
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index adbcf2dc3b..8c273ce695 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -142,6 +142,14 @@
       </scode>
     </changelog>
   </subsection>
+  <subsection name="Web applications">
+    <changelog>
+      <add>
+        Documentation. Add a link to the Log4j documentation that describes how
+        to use Log4j rather than JULI for Tomcat's internal logging. (markt)
+      </add>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 9.0.101 (remm)" rtext="not released">
   <subsection name="Catalina">
diff --git a/webapps/docs/logging.xml b/webapps/docs/logging.xml
index dc31f875fe..b7b8c0d9a5 100644
--- a/webapps/docs/logging.xml
+++ b/webapps/docs/logging.xml
@@ -49,9 +49,11 @@
       To configure Tomcat to use an alternative logging framework for its
       internal logging, follow the instructions provided by the alternative
       logging framework for redirecting logging for applications that use
-      <code>java.util.logging</code>. Keep in mind that the alternative logging
-      framework will need to be capable of working in an environment where
-      different loggers with the same name may exist in different class 
loaders.
+      <code>java.util.logging</code>. Links to some of these instructions are
+      provided towards the end of this page. Keep in mind that the alternative
+      logging framework will need to be capable of working in an environment
+      where different loggers with the same name may exist in different class
+      loaders.
     </p>
 
     <p>
@@ -425,5 +427,12 @@ java.util.logging.ConsoleHandler.encoding = 
UTF-8]]></source>
 
   </section>
 
+  <section name="Using Log4j">
+
+    <p>The Log4j project provides <a
+    href="https://logging.apache.org/log4j/2.x/jakarta.html#replace-tomcat";
+    >instructions for using Log4J for Tomcat's internal logging</a>.</p>
+
+  </section>
 </body>
 </document>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to