Skip to content

Commit

Permalink
Set loggin to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
chkead committed Jan 31, 2024
1 parent 361b81c commit 058b075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/hivemq/security/ssl/SslSniHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public SslSniHandler(
//This could be used to return a different SslContext depending on the provided hostname
//For now the same SslContext is returned independent of the provided hostname

log.info("SSLContext with input {}, cipherSuites {} and attributes {}", input, sslContext.cipherSuites(), sslContext.attributes());
log.trace("SSLContext with input {}, cipherSuites {} and attributes {}", input, sslContext.cipherSuites(), sslContext.attributes());
promise.setSuccess(sslContext);
return promise;
});
Expand Down Expand Up @@ -101,7 +101,7 @@ protected void replaceHandler(
SslHandler sslHandlerInstance = null;
try {
final int port = ClientConnectionContext.of(ctx.channel()).getConnectedListener().getPort();
log.info("Replace ssl handler for hostname: {} and port: {}", hostname, port);
log.trace("Replace ssl handler for hostname: {} and port: {}", hostname, port);
if (!aliasSslHandlerMap.containsKey(hostname)) {
aliasSslHandlerMap.put(hostname, sslFactory.getSslHandler(ch, tls, sslContext, hostname, port));
}
Expand Down

0 comments on commit 058b075

Please sign in to comment.