diff --git a/README b/README index cc6ace7..1b67ef6 100644 --- a/README +++ b/README @@ -40,6 +40,7 @@ Release X.X.X has bug fixes and new features including: - Add internal implementation of SSLParameters, WolfSSLParameters - Add client-side SNI support - Fix warnings when DH is disabled (--disable-dh) +- Add Java thread ID to JSSE debug log messages for easier multithreaded debug The wolfSSL JNI Manual is available at: http://www.wolfssl.com/documentation/wolfSSL-JNI-Manual.pdf. For build diff --git a/src/java/com/wolfssl/provider/jsse/WolfSSLDebug.java b/src/java/com/wolfssl/provider/jsse/WolfSSLDebug.java index ce02501..925d10a 100644 --- a/src/java/com/wolfssl/provider/jsse/WolfSSLDebug.java +++ b/src/java/com/wolfssl/provider/jsse/WolfSSLDebug.java @@ -75,7 +75,8 @@ public class WolfSSLDebug { */ public static void log(Class cl, String tag, String string) { if (DEBUG) { - System.out.println("[wolfJSSE " + tag + " : " + + System.out.println("[wolfJSSE " + tag + ": TID " + + Thread.currentThread().getId() + ": " + cl.getSimpleName() + "] " + string); } }