Skip to content

Commit

Permalink
added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
chkead committed Feb 12, 2024
1 parent f1fb068 commit 7bbd8ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.inject.Inject;
import com.hivemq.bootstrap.ioc.lazysingleton.LazySingleton;
import com.hivemq.configuration.service.FullConfigurationService;
import com.hivemq.configuration.service.SecurityConfigurationService;
import com.hivemq.configuration.service.entity.Tls;
import com.hivemq.extension.sdk.api.annotations.NotNull;
Expand Down Expand Up @@ -126,6 +125,7 @@ public String chooseEngineServerAlias(
if (hostname == null) {
// Without SNI activated the hostname is null, so we use the default alias
certificateAlias = securityConfigurationService.getDefaultKeystoreAlias();
log.debug("No SNI hostname given, using default alias: {}", certificateAlias);
} else {
certificateAlias = dnsResolver.resolve(hostname);
}
Expand Down

0 comments on commit 7bbd8ff

Please sign in to comment.