You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2022/01/12 14:22:35 UTC

svn commit: r1896965 - in /poi/site: publish/components/logging.html src/documentation/content/xdocs/components/logging.xml

Author: mariusvolkhart
Date: Wed Jan 12 14:22:34 2022
New Revision: 1896965

URL: http://svn.apache.org/viewvc?rev=1896965&view=rev
Log:
Add information about logging from transitive dependencies

Modified:
    poi/site/publish/components/logging.html
    poi/site/src/documentation/content/xdocs/components/logging.xml

Modified: poi/site/publish/components/logging.html
URL: http://svn.apache.org/viewvc/poi/site/publish/components/logging.html?rev=1896965&r1=1896964&r2=1896965&view=diff
==============================================================================
--- poi/site/publish/components/logging.html (original)
+++ poi/site/publish/components/logging.html Wed Jan 12 14:22:34 2022
@@ -332,7 +332,11 @@ document.write("Last Published: " + docu
 <p>
                 Capturing POI logs using Log4j 2 Core is as simple as including the
                 <a href="https://logging.apache.org/log4j/2.x/maven-artifacts.html"><span class="codefrag">log4j-core</span></a> JAR in
-                your project.
+                your project. POI also has dependencies on libraries that make use of the SLF4J and Apache Commons
+                Logging APIs. Gather logs from these dependencies by adding the
+                <a href="https://logging.apache.org/log4j/2.x/log4j-jcl/index.html">Commons Logging Bridge</a> and the
+                the <a href="https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html">SLF4J Binding</a> to your
+                project.
             </p>
 <p>
                 The simplest configuration is to capture all POI logs at the same level as your application. You might
@@ -454,7 +458,9 @@ document.write("Last Published: " + docu
 <p>
                 Capturing POI logs using Logback requires adding the
                 <a href="https://logging.apache.org/log4j/2.x/log4j-to-slf4j/index.html">Log4j to SLF4J Adapter</a> to
-                your project, along with the standard Logback dependencies.
+                your project, along with the standard Logback dependencies. POI also has dependencies on libraries that
+                make use of the SLF4J and Apache Commons Logging APIs. Gather logs from these dependencies by adding the
+                <a href="https://www.slf4j.org/legacy.html#jcl-over-slf4j">Commons Logging Bridge</a> to your project.
             </p>
 <p>
                 The simplest configuration is to capture all POI logs at the same level as your application. You might

Modified: poi/site/src/documentation/content/xdocs/components/logging.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/logging.xml?rev=1896965&r1=1896964&r2=1896965&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/logging.xml (original)
+++ poi/site/src/documentation/content/xdocs/components/logging.xml Wed Jan 12 14:22:34 2022
@@ -66,7 +66,11 @@
             <p>
                 Capturing POI logs using Log4j 2 Core is as simple as including the
                 <a href="https://logging.apache.org/log4j/2.x/maven-artifacts.html"><code>log4j-core</code></a> JAR in
-                your project.
+                your project. POI also has dependencies on libraries that make use of the SLF4J and Apache Commons
+                Logging APIs. Gather logs from these dependencies by adding the
+                <a href="https://logging.apache.org/log4j/2.x/log4j-jcl/index.html">Commons Logging Bridge</a> and the
+                the <a href="https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html">SLF4J Binding</a> to your
+                project.
             </p>
 
             <p>
@@ -119,7 +123,9 @@
             <p>
                 Capturing POI logs using Logback requires adding the
                 <a href="https://logging.apache.org/log4j/2.x/log4j-to-slf4j/index.html">Log4j to SLF4J Adapter</a> to
-                your project, along with the standard Logback dependencies.
+                your project, along with the standard Logback dependencies. POI also has dependencies on libraries that
+                make use of the SLF4J and Apache Commons Logging APIs. Gather logs from these dependencies by adding the
+                <a href="https://www.slf4j.org/legacy.html#jcl-over-slf4j">Commons Logging Bridge</a> to your project.
             </p>
 
             <p>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org