aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2019-08-12 19:19:53 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-08-12 19:19:53 +0800
commit8657a0d6b5777ae5a94cb4714ae18b0c38a25c09 (patch)
tree47ed6ab2a92c1e4109b23a69da7bf5a5bfe084e9 /les
parent36994e4e0b2be1362f99048d08b907628088e2bb (diff)
downloadgo-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar.gz
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar.bz2
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar.lz
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar.xz
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.tar.zst
go-tangerine-8657a0d6b5777ae5a94cb4714ae18b0c38a25c09.zip
les: degrade the log level (#19939)
Diffstat (limited to 'les')
-rw-r--r--les/handler.go4
1 files 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)