diff --git a/envoy-control-core/src/main/java/pl/allegro/tech/servicemesh/envoycontrol/SimpleCache.java b/envoy-control-core/src/main/java/pl/allegro/tech/servicemesh/envoycontrol/SimpleCache.java index a7172a19f..e3608331a 100644 --- a/envoy-control-core/src/main/java/pl/allegro/tech/servicemesh/envoycontrol/SimpleCache.java +++ b/envoy-control-core/src/main/java/pl/allegro/tech/servicemesh/envoycontrol/SimpleCache.java @@ -270,13 +270,13 @@ public DeltaWatch createDeltaWatch( status.setWatch(watchId, watch); watch.setStop(() -> { status.removeWatch(watchId); - + LOGGER.debug("removing watch {}", watchId); }); + if (LOGGER.isDebugEnabled()) { - LOGGER.debug("open watch {} for {}[{}] from node {} for version {}", + LOGGER.debug("open watch {} for {} from node {} for version {}", watchId, url, - String.join(", ", resources), group, version); }