Hi All,

I am trying to enable the SystemOutLogger for Poi and am having problems. 

I have set the property org.apache.poi.util.POILogger to
org.apache.poi.util.SystemOutLogger as per the instructions on
http://poi.apache.org/utils/logging.html

I had a look through the mailing list but couldn't find anything about the
SystemOutLogger.

I've had a look at the source code and have set the property poi.log.level
to 1 (DEBUG) however this has not worked either.

I have checked that the properties are being set in my code, the following
snippet:

        System.out.println("poi logger " +
System.getProperty("org.apache.poi.util.POILogger"));
        System.out.println("poi log level " +
Integer.parseInt(System.getProperty("poi.log.level")));
        
        Class loggerClass = Class.forName(
System.getProperty("org.apache.poi.util.POILogger"));
        
        System.out.println("logger class instantiated " +
loggerClass.getName());

Produces

poi logger org.apache.poi.util.SystemOutLogger
poi log level 1
logger class instantiated org.apache.poi.util.SystemOutLogger

I am currently using poi through DB Unit however I need to enable debugging
for POI to debug when processing excel spread sheets as well.

Thanks for your time

Ben


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

Reply via email to