Use debug instead of info for some log messages

These log messages are not relevant for the info level.
This commit is contained in:
Eric Lippmann 2021-10-27 11:11:48 +02:00
parent 2d4b5419af
commit 6232773943
2 changed files with 3 additions and 3 deletions

View file

@ -150,7 +150,7 @@ func run() int {
dump := icingadb.NewDumpSignals(rc, logs.GetChildLogger("dump-signals"))
g.Go(func() error {
logger.Info("Staring config dump signal handling")
logger.Debug("Staring config dump signal handling")
return dump.Listen(synctx)
})

View file

@ -78,7 +78,7 @@ func (s Sync) Sync(ctx context.Context) error {
// initSync initializes icingadb:overdue:objectType from the database.
func (s Sync) initSync(ctx context.Context, objectType string) error {
s.logger.Infof("Refreshing already synced %s overdue indicators", objectType)
s.logger.Debugf("Refreshing already synced %s overdue indicators", objectType)
start := time.Now()
var rows []v1.IdMeta
@ -165,7 +165,7 @@ return res
// sync synchronizes Redis overdue sets from s.redis to s.db for objectType.
func (s Sync) sync(ctx context.Context, objectType string, factory factory, counter *com.Counter) error {
s.logger.Infof("Syncing %s overdue indicators", objectType)
s.logger.Debugf("Syncing %s overdue indicators", objectType)
keys := [3]string{"icinga:nextupdate:" + objectType, "icingadb:overdue:" + objectType, ""}
if rand, err := uuid.NewRandom(); err == nil {