Browse Source

les: degrade the log level (#19939)

gary rong 6 years ago
parent
commit
8657a0d6b5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      les/handler.go

+ 2 - 2
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)