This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new a1cb803bdb Add a link to the Log4j docs for how to replace JULI with Log4j a1cb803bdb is described below commit a1cb803bdb96b8cf26abcd64ebc1a981ddfeeea0 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 | 4 ++++ webapps/docs/logging.xml | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 864dac4eab..503dfcd0cb 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -213,6 +213,10 @@ <subsection name="Web applications"> <changelog> <!-- Entries for backport and removal before 12.0.0-M1 below this line --> + <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> <subsection name="Other"> diff --git a/webapps/docs/logging.xml b/webapps/docs/logging.xml index 91b3a7777f..32b5650843 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