Re: How to Log errors with Fop.bat 0.94

2008-02-18 Thread Jeremias Maerki
We're getting off-topic for this mailing list (should be on fop-users anyway), but here goes: You need to use a different handler, the FileHandler (see example below). You can configure the filename as you want. See http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/FileHandler.html for det

Re: How to Log errors with Fop.bat 0.94

2008-02-18 Thread bonekrusher
Thanks for the help. Your second suggestion might be the better way for me. Following your Wiki, I have a newbie question. I created a congif file : # Error log - FOP Config File # Set and change Default logging for FOP handlers= java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler

Re: How to Log errors with Fop.bat 0.94

2008-02-18 Thread Jeremias Maerki
I'm sure .NET lets you capture the output on stdout/stderr. Just search the net for "capture stdout" together with the name of your preferred programming language. I saw many examples. An alternative is to write a config file for java.util.logging that redirects log output to a file. You can then