Reduce logging level for Lettuce connection events.

This commit is contained in:
Jon Chambers 2020-12-02 15:49:27 -05:00 committed by Jon Chambers
parent 9486dcf6b0
commit 3a268aef50
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ public class ConnectionEventLogger {
public static void logConnectionEvents(final ClientResources clientResources) {
clientResources.eventBus().get().subscribe(event -> {
if (event instanceof ConnectionEvent) {
logger.info("Connection event: {}", event);
logger.debug("Connection event: {}", event);
} else if (event instanceof ClusterTopologyChangedEvent) {
logger.info("Cluster topology changed: {}", event);
logger.debug("Cluster topology changed: {}", event);
}
});
}