Move anchor state logging into DEBUG (now that we redirect it to a file) (#6007)

This commit is contained in:
ledgerwatch 2022-11-09 12:00:30 +00:00 committed by GitHub
parent 6b0f7fa913
commit 00365ba6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,9 +298,9 @@ func (hd *HeaderDownload) logAnchorState() {
ss = append(ss, sb.String()) ss = append(ss, sb.String())
} }
sort.Strings(ss) sort.Strings(ss)
log.Info("[Downloader] Queue sizes", "anchors", hd.anchorQueue.Len(), "links", hd.linkQueue.Len(), "persisted", hd.persistedLinkQueue.Len()) log.Debug("[Downloader] Queue sizes", "anchors", hd.anchorQueue.Len(), "links", hd.linkQueue.Len(), "persisted", hd.persistedLinkQueue.Len())
for _, s := range ss { for _, s := range ss {
log.Info(s) log.Debug(s)
} }
} }