Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turning on Flying Saucer java.util.logging Output

I'm compiling a PDF using iText and Flying Saucer, and unfortunately, I can't seem to get any output from Flying Saucer when compiling. I'd really like to be able to see what's going on internally so as to be able to debug the current problem I'm facing.

How can I turn on java.util.logging for Flying Saucer? I'm currently using SLF4J/Logback.

like image 330
Naftuli Kay Avatar asked Mar 15 '12 22:03

Naftuli Kay


1 Answers

Found it:

System.getProperties().setProperty("xr.util-logging.loggingEnabled", "true");
XRLog.setLoggingEnabled(true);
like image 183
Naftuli Kay Avatar answered Oct 02 '22 14:10

Naftuli Kay