打开Flying Saucer java.util.logging输出 [英] Turning on Flying Saucer java.util.logging Output

查看:148
本文介绍了打开Flying Saucer java.util.logging输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用iText和Flying Saucer编译PDF,不幸的是,在编译时我似乎无法从Flying Saucer获得任何输出。我真的希望能够看到内部发生了什么,以便能够调试我面临的当前问题。

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.

如何为Flying Saucer打开java.util.logging?我目前正在使用SLF4J / Logback。

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

推荐答案

找到它:

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

这篇关于打开Flying Saucer java.util.logging输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆