lowered log level for byz node logging

This commit is contained in:
StephenButtolph 2020-05-12 15:18:02 -04:00
parent 9cd8789b3f
commit b291ddaa91
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ func (b *bootstrapper) Put(vdr ids.ShortID, requestID uint32, vtxID ids.ID, vtxB
}
if !b.pending.Contains(vtx.ID()) {
b.BootstrapConfig.Context.Log.Warn("Validator %s sent an unrequested vertex:\n%s",
b.BootstrapConfig.Context.Log.Debug("Validator %s sent an unrequested vertex:\n%s",
vdr,
formatting.DumpBytes{Bytes: vtxBytes})
@ -119,7 +119,7 @@ func (b *bootstrapper) Put(vdr ids.ShortID, requestID uint32, vtxID ids.ID, vtxB
func (b *bootstrapper) GetFailed(vdr ids.ShortID, requestID uint32) {
vtxID, ok := b.vtxReqs.Remove(vdr, requestID)
if !ok {
b.BootstrapConfig.Context.Log.Warn("GetFailed called without sending the corresponding Get message from %s",
b.BootstrapConfig.Context.Log.Debug("GetFailed called without sending the corresponding Get message from %s",
vdr)
return
}

View File

@ -98,7 +98,7 @@ func (b *bootstrapper) Put(vdr ids.ShortID, requestID uint32, blkID ids.ID, blkB
}
if !b.pending.Contains(blk.ID()) {
b.BootstrapConfig.Context.Log.Warn("Validator %s sent an unrequested block:\n%s",
b.BootstrapConfig.Context.Log.Debug("Validator %s sent an unrequested block:\n%s",
vdr,
formatting.DumpBytes{Bytes: blkBytes})
@ -113,7 +113,7 @@ func (b *bootstrapper) Put(vdr ids.ShortID, requestID uint32, blkID ids.ID, blkB
func (b *bootstrapper) GetFailed(vdr ids.ShortID, requestID uint32) {
blkID, ok := b.blkReqs.Remove(vdr, requestID)
if !ok {
b.BootstrapConfig.Context.Log.Warn("GetFailed called without sending the corresponding Get message from %s",
b.BootstrapConfig.Context.Log.Debug("GetFailed called without sending the corresponding Get message from %s",
vdr)
return
}