Turning on Flying Saucer java.util.logging Output

大憨熊 提交于 2019-12-07 05:44:01

问题


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.


回答1:


Found it:

System.getProperties().setProperty("xr.util-logging.loggingEnabled", "true");
XRLog.setLoggingEnabled(true);


来源:https://stackoverflow.com/questions/9729147/turning-on-flying-saucer-java-util-logging-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!