Improve logging. (#13708)

* Improve logging.

* Make deepsource happy.

* Fix comment.
This commit is contained in:
Manu NALEPA
2024-03-08 13:23:34 +01:00
committed by GitHub
parent 83538251aa
commit b2e3c29ab3
13 changed files with 52 additions and 29 deletions

View File

@@ -194,7 +194,7 @@ func (s *Service) Start() {
}
panic(err)
}
log.Infof("Synced up to slot %d", s.cfg.Chain.HeadSlot())
log.WithField("slot", s.cfg.Chain.HeadSlot()).Info("Synced up to")
s.markSynced()
}