I can get theCan't set level for java.util.logging.ConsoleHandler message
to appear when running the following command:
java -Djava.util.logging.config.file=logging.properties -jar fop.jar -fo
topic.fo -pdf topic.pdf
logging.properties and topic.fo are attached.
If I comment out line 4 of
Thanks - that worked! I'm now getting the log info I want to see.
Because I'm working with the DITA-OT, I ended up updating the ANT_OPTS
environment variable to have
-Djava.util.logging.config.file=C:/Dev/FOP/logging.properties in it.
There is one thing that concerns me slightly. When I build
At most that will impact the logging, not the FOP output. I cannot
reproduce the issue so I don't know what causes that. If you can
reproduce the issue when you run just FOP from the command line (i.e.:
fop -c fop.xconf -fo input.fo -pdf output.pdf) then send your
logging.properties file and
See http://wiki.apache.org/xmlgraphics-fop/HowTo/SetupJDK14Logging and
also take a look at the bottom of the fop script.
But pretty much, a logging.properties file like this:
handlers= java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level = FINEST