Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log: demote a very verbose log level #12681

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions erigon-lib/state/domain_committed.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (dt *DomainRoTx) commitmentValTransformDomain(rng MergeRange, accounts, sto
visibleFiles += fmt.Sprintf("%d-%d;", f.startTxNum/dt.d.aggregationStep, f.endTxNum/dt.d.aggregationStep)
}

dt.d.logger.Warn("[agg] lookupVisibleFileByItsRange: file not found",
dt.d.logger.Debug("[agg] lookupVisibleFileByItsRange: file not found",
"stepFrom", rng.from/dt.d.aggregationStep, "stepTo", rng.to/dt.d.aggregationStep,
"_visible", visibleFiles, "visibleFilesCount", len(dt.files))

Expand All @@ -256,7 +256,7 @@ func (dt *DomainRoTx) commitmentValTransformDomain(rng MergeRange, accounts, sto
visibleFiles += fmt.Sprintf("%d-%d;", f.startTxNum/dt.d.aggregationStep, f.endTxNum/dt.d.aggregationStep)
}

dt.d.logger.Warn("[agg] lookupVisibleFileByItsRange: file not found",
dt.d.logger.Debug("[agg] lookupVisibleFileByItsRange: file not found",
"stepFrom", rng.from/dt.d.aggregationStep, "stepTo", rng.to/dt.d.aggregationStep,
"_visible", visibleFiles, "visibleFilesCount", len(dt.files))
return nil, fmt.Errorf("merged v1-account.%d-%d.kv file not found", rng.from/dt.d.aggregationStep, rng.to/dt.d.aggregationStep)
Expand Down
2 changes: 1 addition & 1 deletion erigon-lib/state/domain_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func (sd *SharedDomains) replaceShortenedKeysInBranch(prefix []byte, branch comm
}
accountItem := acc.lookupVisibleFileByItsRange(fStartTxNum, fEndTxNum)
if accountItem == nil {
sd.logger.Warn(fmt.Sprintf("visible account file of steps %d-%d not found", fStartTxNum/sd.aggTx.a.aggregationStep, fEndTxNum/sd.aggTx.a.aggregationStep))
sd.logger.Debug(fmt.Sprintf("visible account file of steps %d-%d not found", fStartTxNum/sd.aggTx.a.aggregationStep, fEndTxNum/sd.aggTx.a.aggregationStep))
accountItem = acc.lookupDirtyFileByItsRange(fStartTxNum, fEndTxNum)
if accountItem == nil {
sd.logger.Crit(fmt.Sprintf("dirty account file of steps %d-%d not found", fStartTxNum/sd.aggTx.a.aggregationStep, fEndTxNum/sd.aggTx.a.aggregationStep))
Expand Down
Loading