How do I see the debug information generated by the -Dsun.security.krb5.debug JVM option?

点点圈 提交于 2021-01-28 02:03:10

问题


I'm running a JAR with the option -Dsun.security.krb5.debug=true.

How and where do I see the debug information generated?


回答1:


This is a parameter for JVM. It usually goes with -Dsun.security.jgss.debug=true

Afterwards, to see debug lines, perform any JGSS/Kerberos operation, for example those described in tutorial: http://docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/.

Debug information is written to console. To see it you can either start jar from console java -jar yourapp.jar, or force showing console: https://stackoverflow.com/a/28477682/1206341



来源:https://stackoverflow.com/questions/34404095/how-do-i-see-the-debug-information-generated-by-the-dsun-security-krb5-debug-jv

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