Not really a question with Apache FOP itself, but... 

The ExampleXML2PDF class has this to setup the logger:

        //Setup logger
        Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
        driver.setLogger(logger);
        MessageHandler.setScreenLogger(logger);

I know that if I call the following on the MessageHandler:
        MessageHandler.setLogfileName("C:\\myfile.txt", true);
        MessageHandler.setOutputMethod(MessageHandler.FILE);
I then see that *some* of the logging is directed to the file.

However, most of it is still going to the console/screen. Should I be
using another object instead of ConsoleLogger to send the logging to a
file instead of on-screen? I'm hoping for something like FileLogger()
which just takes a filename as a parameter.





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

Reply via email to