poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52808] New: Creating HSSFWorkbook instance resets log4j log level to WARN
Date Fri, 02 Mar 2012 05:38:55 GMT
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: dev@poi.apache.org
        ReportedBy: srihari.ravi@gmail.com
    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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message