FOP uses Jakarta Commons Logging as logging abstraction. Please consult
its documentation to redirect all log output to a different target.

http://xmlgraphics.apache.org/fop/0.92/embedding.html#basic-logging
http://jakarta.apache.org/commons/logging/

I generally use -Djava.util.logging.config.file=<config.properties> to
configure JDK 1.4 logging which is the default on JDK 1.4 and later if
no Log4J is around.

If you'd decide to use JDK 1.4 logging, your config file could look
approximately like this:

handlers= java.util.logging.FileHandler
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
.level= INFO
org.apache.fop.level = INFO
[etc. etc.]


On 17.08.2006 11:38:20 Luis Ferro wrote:
> 
> I know this may look like a noob question... (it is for me at least)...
> 
> I fail to see how to config fop to log to a file instead of to the standard
> output (which isn't that much standard because isn't pipeable to a file
> [seams to be log to console instead of stdout]).
> 
> Can someone help pls?
> 
> (if someone has a php example on how to do it would be great)



Jeremias Maerki


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

Reply via email to