https://issues.apache.org/bugzilla/show_bug.cgi?id=52808
Bug #: 52808
Summary: Creating HSSFWorkbook instance resets log4j log level
to WARN
Product: POI
Version: 3.7
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
I am using POI's HSSF to read data from an MS excel sheet. I also use log4j in
my project for logging. Here is what I do in my project:
1. Initialize logging (log level is set to INFO in log4j.properties)
2. Do stuff: log.info works fine here
3. Read an excel sheet using HSSF
4. Do stuff: log.info doesn't show output, log.warn & log.error work fine
however
By reinitializing logging (reexecuting step 1 above) after step 3, log.info
works fine again.
This issue is observed in build 1.7 (poi-3.7-20101029.jar) and also in the
latest 1.8 beta (poi-3.8-beta5-20111217.jar).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]