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 the document, I get this message to STDOUT: [fop] Can't set level for java.util.logging.ConsoleHandler Is this something I should worry about? And how do I fix this? On 6 June 2014 00:35, Luis Bernardo <lmpmberna...@gmail.com> wrote: > > 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 > java.util.logging.ConsoleHandler.formatter = java.util.logging. > SimpleFormatter > #.level= INFO > .level= WARNING > > Followed by > export LOGLEVEL=-Djava.util.logging.config.file=/path/to/logging. > properties > is all you need. LOGLEVEL will then be picked up by the fop script. > > > On 6/5/14, 12:16 PM, Andrew McFarland Campbell wrote: > >> Hi, >> I'm running FOP as part of the PDF2 plugin in the DITA-OT, version 1.8. >> At the moment, I'm getting INFO-level messages to STDOUT. How do I change >> the log level so I only get WARNING and above? >> The version of FOP seems to be 1.1 >> Thanks, >> Andrew >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > >