From 66242cc65f623a1026e911306c91f91e63f8b31b Mon Sep 17 00:00:00 2001 From: YACOVM Date: Mon, 6 Mar 2017 12:35:30 +0200 Subject: [PATCH] Gossip: Adjust log level of membership learning event These 2 logging events should not be Info, but should be Debug. Change-Id: I4e0e5b823d514ee7b1db8e58f5d6775bee303c30 Signed-off-by: Yacov Manevich --- gossip/discovery/discovery_impl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gossip/discovery/discovery_impl.go b/gossip/discovery/discovery_impl.go index 9dd7cbb1e75..cc02f0b9897 100644 --- a/gossip/discovery/discovery_impl.go +++ b/gossip/discovery/discovery_impl.go @@ -762,7 +762,7 @@ func (d *gossipDiscoveryImpl) learnNewMembers(aliveMembers []*proto.SignedGossip } d.aliveMembership.Put(am.GetAliveMsg().Membership.PkiId, &proto.SignedGossipMessage{GossipMessage: am.GossipMessage, Envelope: am.Envelope}) - d.logger.Infof("Learned about a new alive member: %v", am) + d.logger.Debugf("Learned about a new alive member: %v", am) } for _, dm := range deadMembers { @@ -776,7 +776,7 @@ func (d *gossipDiscoveryImpl) learnNewMembers(aliveMembers []*proto.SignedGossip } d.deadMembership.Put(dm.GetAliveMsg().Membership.PkiId, &proto.SignedGossipMessage{GossipMessage: dm.GossipMessage, Envelope: dm.Envelope}) - d.logger.Infof("Learned about a new dead member: %v", dm) + d.logger.Debugf("Learned about a new dead member: %v", dm) } // update the member in any case