1

I'm using java to connect via SSL to API and I'm trying do understand what am I doing wrong by debugging it, but where should I look if I use only tests and not tomcat or any other application containers? Before starting doing application calls I do this to enable debug:

System.setProperty("javax.net.debug", "ssl");

Is there any log files in Java's library or console or what? I don't see any logs anywhere. Please help.

user2620644
  • 521
  • 1
  • 12
  • 25
  • Does [this](https://stackoverflow.com/a/30104610/1790644) help? – Matt Clark Jun 16 '17 at 16:45
  • It's outputs to the standard error stream, System.err. It's possible that setting the property inside your program is too late to affect the property. All the examples I see have it set on java launcher via something like `java -Djavax.net.debug=ssl ...` – President James K. Polk Jun 16 '17 at 20:35

0 Answers0