Title: RE: which version of log4j is used by POI 1.0.2

Not the answer you are looking for, but I have successfully used log4j 1.1.3.

We have since changed to log4j1.2alpha2. and had to modify HSSFLog and POILogFactory.

 -----Original Message-----
From:   An Feng-I Chen [mailto:[EMAIL PROTECTED]]
Sent:   Friday, February 22, 2002 11:09 AM
To:     '[EMAIL PROTECTED]'
Subject:        which version of log4j is used by POI 1.0.2

Hi,

I've tried to ask this question to several addresses but get no answer. Hope
this time is the right place to ask question regarding using POI.


I need to find a solution to interface Excel files to my application. I've
downloaded POI jars and tried to run the sample test driver "HSSF"
but got NoSuchMethodError from HSSFLog, line 107:
net.sourceforge.poi.hssf.HSSFLog.<init>(HSSFLog.java:107)
Line 107 of HSSFLog is: log.getDefaultHierarchy().disableDebug();

I'm using POI 1.0.2 and log4j 1.2beta3. From log4j documentation I know
there is no such method "disableDebug" in LoggerRepository class.

I have also tried log4j version 1.0.4 but got the same error. I have to
manually modify HSSFLog.java to not to use that method to work around with
it. I then got lots of log messages.

My question is which version of log4j is used by HSSF 1.0.2 and where I can
download that version.

Thanks for any help.

an





Confidentiality Warning: This e-mail contains information intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited. The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail. If you have received this e-mail in error, please immediately notify us by return e-mail. Thank you.

Reply via email to