Author: fanningpj
Date: Thu Nov 11 19:25:08 2021
New Revision: 1894958

URL: http://svn.apache.org/viewvc?rev=1894958&view=rev
Log:
update docs to remove jcl logging references

Modified:
    poi/site/src/documentation/content/xdocs/components/spreadsheet/eval.xml
    poi/site/src/documentation/content/xdocs/components/spreadsheet/how-to.xml

Modified: 
poi/site/src/documentation/content/xdocs/components/spreadsheet/eval.xml
URL: 
http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/spreadsheet/eval.xml?rev=1894958&r1=1894957&r2=1894958&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/spreadsheet/eval.xml 
(original)
+++ poi/site/src/documentation/content/xdocs/components/spreadsheet/eval.xml 
Thu Nov 11 19:25:08 2021
@@ -368,14 +368,10 @@ mainWorkbookEvaluator.evaluateAll();
                <p>POI is not perfect and you may stumble across formula 
evaluation problems (Java exceptions
                or just different results) in your special use case. To support 
an easy detailed analysis, a special
                logging of the full evaluation is provided.</p>
-               <p>The output of this logging may be very large (depends on 
your EXCEL), so this logging has to be explicitly enabled
-               for each single formula evaluation. Should not be used in 
production - only for specific development use.</p>
+        <p>POI 5.1.0 and above uses <a 
href="https://logging.apache.org/log4j/2.x/";>Log4J 2.x</a> as a logging 
framework. Try to set up a logging
+        configuration that lets you see the info and other log messages.</p>
                <p>Example use:</p>
                <source>
-       // activate logging to console
-       System.setProperty("org.apache.poi.util.POILogger", 
"org.apache.poi.util.SystemOutLogger");
-       System.setProperty("poi.log.level", POILogger.INFO + "");
-
        // open your file
        Workbook wb = new HSSFWorkbook(new FileInputStream("foobar.xls"));
     FormulaEvaluator evaluator = 
wb.getCreationHelper().createFormulaEvaluator();

Modified: 
poi/site/src/documentation/content/xdocs/components/spreadsheet/how-to.xml
URL: 
http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/components/spreadsheet/how-to.xml?rev=1894958&r1=1894957&r2=1894958&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/components/spreadsheet/how-to.xml 
(original)
+++ poi/site/src/documentation/content/xdocs/components/spreadsheet/how-to.xml 
Thu Nov 11 19:25:08 2021
@@ -819,7 +819,7 @@ its code is repeated above. To run it:
     <li>set up your classpath as follows:
     <code>export HSSFDIR={wherever you put HSSF's jar files}
 export LOG4JDIR={wherever you put LOG4J's jar files}
-export 
CLASSPATH=$CLASSPATH:$HSSFDIR/hssf.jar:$HSSFDIR/poi-poifs.jar:$HSSFDIR/poi-util.jar:$LOG4JDIR/jog4j.jar</code>
+export 
CLASSPATH=$CLASSPATH:$HSSFDIR/hssf.jar:$HSSFDIR/poi-poifs.jar:$HSSFDIR/poi-util.jar:$LOG4JDIR/log4j.jar</code>
     </li><li>type:
     <code>java org.apache.poi.hssf.dev.HSSF ~/myxls.xls write</code></li>
 </ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to