les: degrade the log level (#19939)

pull/19944/head
gary rong 5 years ago committed by Péter Szilágyi
parent 36994e4e0b
commit 8657a0d6b5
  1. 4
      les/handler.go

@ -1129,7 +1129,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
} }
p.freezeServer(true) p.freezeServer(true)
pm.retriever.frozen(p) pm.retriever.frozen(p)
p.Log().Warn("Service stopped") p.Log().Debug("Service stopped")
case ResumeMsg: case ResumeMsg:
if pm.odr == nil { if pm.odr == nil {
@ -1141,7 +1141,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
} }
p.fcServer.ResumeFreeze(bv) p.fcServer.ResumeFreeze(bv)
p.freezeServer(false) p.freezeServer(false)
p.Log().Warn("Service resumed") p.Log().Debug("Service resumed")
default: default:
p.Log().Trace("Received unknown message", "code", msg.Code) p.Log().Trace("Received unknown message", "code", msg.Code)

Loading…
Cancel
Save