Change logging of live instances in Gobblin cluster to debug level
@@ -311,11 +311,12 @@ public class GobblinHelixMultiManager implements StandardMetricsBridge {
* A custom implementation of {@link LiveInstanceChangeListener}.
*/
private static class GobblinLiveInstanceChangeListener implements LiveInstanceChangeListener {
-
@Override
public void onLiveInstanceChange(List<LiveInstance> liveInstances, NotificationContext changeContext) {
+ if (log.isDebugEnabled()) {
for (LiveInstance liveInstance : liveInstances) {
- log.info("Live Helix participant instance: " + liveInstance.getInstanceName());
+ log.debug("Live Helix participant instance: " + liveInstance.getInstanceName());
+ }
}
}
}
