From 901015daadb321364c2c83b32c1163b9baf76d95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= <peterke@gmail.com>
Date: Thu, 25 Feb 2021 12:56:18 +0200
Subject: [PATCH] eth/protocols/snap: lower abortion and resumption logs to
 debug

---
 eth/protocols/snap/sync.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eth/protocols/snap/sync.go b/eth/protocols/snap/sync.go
index c31e4a5dae..1cfdef15bd 100644
--- a/eth/protocols/snap/sync.go
+++ b/eth/protocols/snap/sync.go
@@ -1595,7 +1595,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
 				// is interrupted and resumed later. However, *do* update the
 				// previous root hash.
 				if subtasks, ok := res.task.SubTasks[res.hashes[i]]; ok {
-					log.Error("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
+					log.Debug("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
 					for _, subtask := range subtasks {
 						subtask.root = account.Root
 					}
@@ -1614,7 +1614,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
 	// now we have to live with that.
 	for hash := range res.task.SubTasks {
 		if _, ok := resumed[hash]; !ok {
-			log.Error("Aborting suspended storage retrieval", "account", hash)
+			log.Debug("Aborting suspended storage retrieval", "account", hash)
 			delete(res.task.SubTasks, hash)
 		}
 	}
-- 
GitLab