You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/05/07 18:54:37 UTC

svn commit: r1900662 - /poi/site/src/documentation/content/xdocs/components/logging.xml

Author: fanningpj
Date: Sat May  7 18:54:37 2022
New Revision: 1900662

URL: http://svn.apache.org/viewvc?rev=1900662&view=rev
Log:
logging docs

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

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=1900662&r1=1900661&r2=1900662&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/logging.xml (original)
+++ poi/site/src/documentation/content/xdocs/components/logging.xml Sat May  7 18:54:37 2022
@@ -116,6 +116,17 @@
             </source>
         </section>
         <section>
+            <title>Log4J SimpleLogger</title>
+            <p>
+                If your main aim is just to get rid of the scary logging log message from Log4J that says
+                'ERROR StatusLogger Log4j2 could not find a logging implementation.', then one option is to
+                enable the SimpleLogger using a system property.
+            </p>
+            <p>
+                -Dlog4j2.loggerContextFactory=org.apache.logging.log4j.simple.SimpleLoggerContextFactory
+            </p>
+        </section>
+        <section>
             <title>Logging with SLF4J</title>
             <p>
                 If you want to continue to use another SLF4J compatible logging framework, you can deploy the



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