Skip to content

Commit

Permalink
Gossip: Adjust log level of membership learning event
Browse files Browse the repository at this point in the history
These 2 logging events should not be Info, but should be Debug.

Change-Id: I4e0e5b823d514ee7b1db8e58f5d6775bee303c30
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed Mar 6, 2017
1 parent dc7d4d4 commit 66242cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip/discovery/discovery_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit 66242cc

Please sign in to comment.