add Thread ID to WolfSSLDebug logs
parent
5ca6fb8b2c
commit
ee999153f8
1
README
1
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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue