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 we can investigate.
On 6/6/14, 9:22 AM, Andrew McFarland Campbell wrote:
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
<mailto: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
<mailto:fop-users-unsubscr...@xmlgraphics.apache.org>
For additional commands, e-mail:
fop-users-h...@xmlgraphics.apache.org
<mailto:fop-users-h...@xmlgraphics.apache.org>