OK, found it out. I guess I had to write the question to really get onto it. This does it:
java -Djavax.net.debug=all
The full guide is here
Question
I have a custom application that is using httpcomponents-core-4.2.4 and the SSLContext/SSLEngine with Oracle JDK to enable https.
It works fine in Windows/OSX environments.
However, it does not work in Ubuntu 12.04 with OpenJDK.
How can I enable logging for the HTTP components or the SSL classes, since they do not provide anything to log4j logs, although the client side httpcomponents do.
I found that there is an internal Debug instance in SSLEngineImpl, but how do I enable it?
La solution
OK, found it out. I guess I had to write the question to really get onto it. This does it:
java -Djavax.net.debug=all
The full guide is here