mirror of
https://github.com/Icinga/icingadb.git
synced 2026-06-08 08:22:33 -04:00
Use debug instead of info for some log messages
These log messages are not relevant for the info level.
This commit is contained in:
parent
2d4b5419af
commit
6232773943
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue