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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]