Skip to content

Commit 624a5d8

Browse files
authored
eth/filter: downgrade log level (#31450)
1 parent 8fe09df commit 624a5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/filters/filter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func (f *Filter) indexedLogs(ctx context.Context, mb filtermaps.MatcherBackend,
372372
// iteration and bloom matching.
373373
func (f *Filter) unindexedLogs(ctx context.Context, begin, end uint64) ([]*types.Log, error) {
374374
start := time.Now()
375-
log.Warn("Performing unindexed log search", "begin", begin, "end", end)
375+
log.Debug("Performing unindexed log search", "begin", begin, "end", end)
376376
var matches []*types.Log
377377
for blockNumber := begin; blockNumber <= end; blockNumber++ {
378378
select {
@@ -390,7 +390,7 @@ func (f *Filter) unindexedLogs(ctx context.Context, begin, end uint64) ([]*types
390390
}
391391
matches = append(matches, found...)
392392
}
393-
log.Trace("Performed unindexed log search", "begin", begin, "end", end, "matches", len(matches), "elapsed", common.PrettyDuration(time.Since(start)))
393+
log.Debug("Performed unindexed log search", "begin", begin, "end", end, "matches", len(matches), "elapsed", common.PrettyDuration(time.Since(start)))
394394
return matches, nil
395395
}
396396

0 commit comments

Comments
 (0)