gossip: Make two log items debug level

It is duplciated with "InetAddresss x.x.x.x is now UP" message.

INFO  2016-09-23 10:35:15,512 [shard 0] gossip - Node 127.0.0.1 has restarted, now UP, status = NORMAL
INFO  2016-09-23 10:35:15,513 [shard 0] gossip - InetAddress 127.0.0.1 is now UP, status = NORMAL

Make the log a bit cleaner.
This commit is contained in:
Asias He
2016-09-23 10:45:31 +08:00
parent a26a26963c
commit 830f4ee353

View File

@@ -1196,9 +1196,9 @@ void gossiper::handle_major_state_change(inet_address ep, const endpoint_state&
}
if (!is_dead_state(eps) && !_in_shadow_round) {
if (endpoint_state_map.count(ep)) {
logger.info("Node {} has restarted, now UP, status = {}", ep, get_gossip_status(eps));
logger.debug("Node {} has restarted, now UP, status = {}", ep, get_gossip_status(eps));
} else {
logger.info("Node {} is now part of the cluster, status = {}", ep, get_gossip_status(eps));
logger.debug("Node {} is now part of the cluster, status = {}", ep, get_gossip_status(eps));
}
}
logger.trace("Adding endpoint state for {}, status = {}", ep, get_gossip_status(eps));