les: degrade the log level (#19939)

This commit is contained in:
gary rong 2019-08-12 19:19:53 +08:00 committed by Péter Szilágyi
parent 36994e4e0b
commit 8657a0d6b5
1 changed files with 2 additions and 2 deletions

View File

@ -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)