From 20369b03e21518576e870df6df0618b10cd1e511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 31 Jan 2018 17:29:35 +0200 Subject: [PATCH] eth/downloader: reduce a log level back to debug --- eth/downloader/downloader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 925128687b..84eaa99709 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -803,7 +803,7 @@ func (d *Downloader) fetchHeaders(p *peerConnection, from uint64, pivot uint64) if packet.Items() == 0 { // Don't abort header fetches while the pivot is downloading if atomic.LoadInt32(&d.committed) == 0 && pivot <= from { - p.log.Error("No headers, waiting for pivot commit") + p.log.Debug("No headers, waiting for pivot commit") select { case <-time.After(fsHeaderContCheck): getHeaders(from) @@ -813,7 +813,7 @@ func (d *Downloader) fetchHeaders(p *peerConnection, from uint64, pivot uint64) } } // Pivot done (or not in fast sync) and no more headers, terminate the process - p.log.Error("No more headers available") + p.log.Debug("No more headers available") select { case d.headerProcCh <- nil: return nil