Skip to content

Commit

Permalink
Diagnostics: change log level (#11048)
Browse files Browse the repository at this point in the history
Put log level as Debug to silence warning for now. This bit requires
refactor as I realized that two stages can run at the same time. It
should close - #10988
  • Loading branch information
dvovk authored Jul 5, 2024
1 parent 0985808 commit a77234e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/diagnostics/snapshots.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func GetShanpshotsPercentDownloaded(downloaded uint64, total uint64, torrentMeta
func (d *DiagnosticClient) updateSnapshotStageStats(stats SyncStageStats, subStageInfo string) {
idxs := d.GetCurrentSyncIdxs()
if idxs.Stage == -1 || idxs.SubStage == -1 {
log.Warn("[Diagnostics] Can't find running stage or substage while updating Snapshots stage stats.", "stages:", d.syncStages, "stats:", stats, "subStageInfo:", subStageInfo)
log.Debug("[Diagnostics] Can't find running stage or substage while updating Snapshots stage stats.", "stages:", d.syncStages, "stats:", stats, "subStageInfo:", subStageInfo)
return
}

Expand Down

0 comments on commit a77234e

Please sign in to comment.