问题
In my XPages application, I want to debug a problem related to javax.net. Therefore I set the system property javax.net.debug=all
. Unfortunately, the debug information is not written to the Domino server console and I cannot find it in any of the logs on the server.
Can anybody tell me how to get that debug output?
回答1:
1) In your Notes.ini, create an entry for an options file, i.e.
JavaOptionsFile=C:\IBM\Domino9\MyJavaOptions.txt
2) Create this file and add this line
-Djavax.net.debug=all
3) Save it & restart the server
4) Open log.nsf to see what happens - the server console is no longer useable, too much debug information!
回答2:
- Add to entry
javax.net.debug=all
to file\Domino\data\domino\workspace\.config\rcpinstall.properties
- Restart server
来源:https://stackoverflow.com/questions/40802850/debug-information-for-javax-net-is-not-written-to-domino-server-console