You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/03/02 13:36:01 UTC

DO NOT REPLY [Bug 52808] Creating HSSFWorkbook instance resets log4j log level to WARN

https://issues.apache.org/bugzilla/show_bug.cgi?id=52808

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
         OS/Version|                            |All

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2012-03-02 12:36:01 UTC ---
I can't reproduce it. Can you narrow it down to a simple isolated test so that
we can confirm the problem? 

POI does not use the log4j framework directly but can be configured to delegate
logging to log4j via Apache Commons Logging. Did you set it so ? Even if you
did, I don't see how it can interfere with existing log4j setup.

Check that you don't have multiple log4.properties in the classpath. 

Try to track the code that resets log4. The simplest way is to set a breakpoint
inside log4 and see what place is actually calling it. I will very surprised if
it is POI.

Yegor

-- 
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