Reduce logging level for Lettuce connection events.
This commit is contained in:
parent
9486dcf6b0
commit
3a268aef50
|
@ -18,9 +18,9 @@ public class ConnectionEventLogger {
|
||||||
public static void logConnectionEvents(final ClientResources clientResources) {
|
public static void logConnectionEvents(final ClientResources clientResources) {
|
||||||
clientResources.eventBus().get().subscribe(event -> {
|
clientResources.eventBus().get().subscribe(event -> {
|
||||||
if (event instanceof ConnectionEvent) {
|
if (event instanceof ConnectionEvent) {
|
||||||
logger.info("Connection event: {}", event);
|
logger.debug("Connection event: {}", event);
|
||||||
} else if (event instanceof ClusterTopologyChangedEvent) {
|
} else if (event instanceof ClusterTopologyChangedEvent) {
|
||||||
logger.info("Cluster topology changed: {}", event);
|
logger.debug("Cluster topology changed: {}", event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue