les: degrade the log level

This commit is contained in:
rjl493456442 2019-08-12 18:24:51 +08:00
parent c9cdf144d5
commit 0e3fb277b5

View file

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