From 386ef6b0008cc37630a496ac2e27d8f24882db78 Mon Sep 17 00:00:00 2001 From: StephenButtolph Date: Tue, 21 Apr 2020 01:31:10 -0400 Subject: [PATCH] cleaned up logging in avalanche bubbling --- snow/engine/avalanche/voter.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snow/engine/avalanche/voter.go b/snow/engine/avalanche/voter.go index 90b7b2f..6e52a34 100644 --- a/snow/engine/avalanche/voter.go +++ b/snow/engine/avalanche/voter.go @@ -81,20 +81,20 @@ func (v *voter) bubbleVotes(votes ids.UniqueBag) ids.UniqueBag { status := vtx.Status() if !status.Fetched() { - v.t.Config.Context.Log.Debug("Dropping %d vote(s) for %s because the vertex is unknown", set.Len(), vtx.ID()) + v.t.Config.Context.Log.Verbo("Dropping %d vote(s) for %s because the vertex is unknown", set.Len(), vtx.ID()) continue } if status.Decided() { - v.t.Config.Context.Log.Debug("Dropping %d vote(s) for %s because the vertex is accepted", set.Len(), vtx.ID()) + v.t.Config.Context.Log.Verbo("Dropping %d vote(s) for %s because the vertex is decided", set.Len(), vtx.ID()) continue } if v.t.Consensus.VertexIssued(vtx) { - v.t.Config.Context.Log.Debug("Applying %d vote(s) for %s", set.Len(), vtx.ID()) + v.t.Config.Context.Log.Verbo("Applying %d vote(s) for %s", set.Len(), vtx.ID()) bubbledVotes.UnionSet(vtx.ID(), set) } else { - v.t.Config.Context.Log.Debug("Bubbling %d vote(s) for %s because the vertex isn't issued", set.Len(), vtx.ID()) + v.t.Config.Context.Log.Verbo("Bubbling %d vote(s) for %s because the vertex isn't issued", set.Len(), vtx.ID()) vts = append(vts, vtx.Parents()...) } }