From 8657a0d6b5777ae5a94cb4714ae18b0c38a25c09 Mon Sep 17 00:00:00 2001 From: gary rong Date: Mon, 12 Aug 2019 19:19:53 +0800 Subject: [PATCH] les: degrade the log level (#19939) --- les/handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/les/handler.go b/les/handler.go index ac1eb173c..807065e55 100644 --- a/les/handler.go +++ b/les/handler.go @@ -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)