Merge pull request #269 from rlm2002/JSSEprotocols

change wolfSSL logging cb to stderr
pull/270/head
Chris Conlon 2025-05-21 13:44:45 -06:00 committed by GitHub
commit 8b939f46ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class WolfSSLNativeLoggingCallback implements WolfSSLLoggingCallback
{ {
public synchronized void loggingCallback(int logLevel, String logMessage) { public synchronized void loggingCallback(int logLevel, String logMessage) {
System.out.println(new Timestamp(new java.util.Date().getTime()) + System.err.println(new Timestamp(new java.util.Date().getTime()) +
" [wolfSSL: TID " + " [wolfSSL: TID " +
Thread.currentThread().getId() + Thread.currentThread().getId() +
"] " + logMessage); "] " + logMessage);