xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <dev.jerem...@greenmail.ch>
Subject Re: Problem with Fop and Log4j
Date Thu, 05 Dec 2002 17:05:28 GMT
Looks ok to me. You don't get any error messages, do you? Have you
checked that your category is configured properly, i.e. you get output
when you manually log something using your "cat" variable just before
setting the logger?

Maybe you also have to set the logger for MessageHandler:

MessageHandler.setScreenLogger(cat);

as shown in http://xml.apache.org/fop/embedding.html.

On 05.12.2002 10:57:43 REDONDO Julien wrote:
> i use log4j with fop and i have a problem :
> Fop doesn't do logs in my file..
> 
> why ??
> 
> my line command is  :
> 
> private static Category cat = 
> Category.getInstance(PrintDevis.class.getName());
> driver.setLogger(new org.apache.avalon.framework.logger.Log4JLogger(cat));


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message