From fc0fefa400b7cb95db043c6d65351eccb828adfb Mon Sep 17 00:00:00 2001 From: Jin Date: Sun, 27 Oct 2024 09:23:36 +0800 Subject: [PATCH] feat:modify insert stats report log level to debug --- core/blockchain_insert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/blockchain_insert.go b/core/blockchain_insert.go index ec3f771818fa..05a1d6aee6af 100644 --- a/core/blockchain_insert.go +++ b/core/blockchain_insert.go @@ -81,9 +81,9 @@ func (st *insertStats) report(chain []*types.Block, index int, snapDiffItems, sn context = append(context, []interface{}{"ignored", st.ignored}...) } if setHead { - log.Info("Imported new chain segment", context...) + log.Debug("Imported new chain segment", context...) } else { - log.Info("Imported new potential chain segment", context...) + log.Debug("Imported new potential chain segment", context...) } // Bump the stats reported to the next section *st = insertStats{startTime: now, lastIndex: index + 1}