reduce log chatter

This commit is contained in:
Boaz Leskes 2015-08-26 10:33:17 +02:00
parent d9f6e302b5
commit 98ed133dd7
1 changed files with 2 additions and 2 deletions

View File

@ -333,9 +333,9 @@ public class LocalDiscovery extends AbstractLifecycleComponent<Discovery> implem
}
try {
newNodeSpecificClusterState = discovery.lastProcessedClusterState.readDiffFrom(StreamInput.wrap(clusterStateDiffBytes)).apply(discovery.lastProcessedClusterState);
logger.debug("sending diff cluster state version with size {} to [{}]", clusterStateDiffBytes.length, discovery.localNode.getName());
logger.trace("sending diff cluster state version [{}] with size {} to [{}]", clusterState.version(), clusterStateDiffBytes.length, discovery.localNode.getName());
} catch (IncompatibleClusterStateVersionException ex) {
logger.warn("incompatible cluster state version - resending complete cluster state", ex);
logger.warn("incompatible cluster state version [{}] - resending complete cluster state", ex, clusterState.version());
}
}
if (newNodeSpecificClusterState == null) {