Reduce logging level for Lettuce connection events.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-12-07 11:56:41 -05:00
1 parent 9486dcf6b0
commit 3a268aef50
1 file changed
+2 -2
@@ -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);
}
});
}