From 43bcd2bbee3363936a968543d74fcd7534e65456 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 27 Oct 2021 11:01:00 +0200 Subject: [PATCH] Remove syncing $redisKey log message This info message just pollutes the logs and for debugging we log the execution anyway. --- pkg/icingaredis/client.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/icingaredis/client.go b/pkg/icingaredis/client.go index 59f53431..6f6b9cec 100644 --- a/pkg/icingaredis/client.go +++ b/pkg/icingaredis/client.go @@ -72,8 +72,6 @@ type HPair struct { func (c *Client) HYield(ctx context.Context, key string) (<-chan HPair, <-chan error) { pairs := make(chan HPair, c.Options.HScanCount) - c.logger.Infof("Syncing %s", key) - return pairs, com.WaitAsync(contracts.WaiterFunc(func() error { var counter com.Counter defer c.log(ctx, key, &counter).Stop()