diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go index fb243b1ca7..d1af413455 100644 --- a/core/rawdb/accessors_chain.go +++ b/core/rawdb/accessors_chain.go @@ -326,7 +326,7 @@ func ReadHeaderRange(db ethdb.Reader, number uint64, count uint64) []rlp.RawValu // read remaining from ancients, cap at 2M data, err := db.AncientRange(ChainFreezerHeaderTable, i+1-count, count, 2*1024*1024) if err != nil { - log.Error("Failed to read headers from freezer", "err", err, "start", i+1-count, "count", count, "number", number) + log.Debug("Failed to read headers from freezer", "err", err, "start", i+1-count, "count", count, "number", number) return rlpHeaders } if uint64(len(data)) != count { diff --git a/core/rawdb/freezer_table.go b/core/rawdb/freezer_table.go index eeb83df1ca..dd29a33bd3 100644 --- a/core/rawdb/freezer_table.go +++ b/core/rawdb/freezer_table.go @@ -1037,7 +1037,6 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i // Ensure the start is written, not deleted from the tail, and that the // caller actually wants something if items <= start || hidden > start || count == 0 { - log.Debug("retrieveItems out of bounds", "table name", t.name, "items", items, "hidden", hidden, "start", start, "count", count) return nil, nil, errOutOfBounds } if start+count > items {