Do you have the jar-file for Log4j in your classpath (e.g. "log4j-1.2.8.jar") ?

[EMAIL PROTECTED] wrote:

Hi all

I'm writing an application in witch I'm embedding FOP.
I want to get FOP logs with Log4j.

The documentation says that I can use :
    driver.setLogger(new
org.apache.avalon.framework.logger.LogKitLogger(log));
It exists similar implementations with Log4j so I tried :
    driver.setLogger(new
org.apache.avalon.framework.logger.Log4JLogger(log));
with :
    private static final Logger log =
Logger.getLogger(XSLTUtil.class.getName());

javac is complaining that I need org.apache.log.Logger.

I read the fop-dev archives so I check my FOP version. It's the 0-20.4.

What's wrong ???
If anyone can help me... Thanks.

Stephane


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to