From cef9a7a3d00aab33004769c818422949c03d2521 Mon Sep 17 00:00:00 2001 From: Jim Bugwadia Date: Sun, 17 Sep 2023 21:49:06 -0700 Subject: [PATCH] fix excessive logs (#8431) Signed-off-by: Jim Bugwadia --- pkg/utils/controller/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/utils/controller/run.go b/pkg/utils/controller/run.go index 388c38911f..ea24c7a1f7 100644 --- a/pkg/utils/controller/run.go +++ b/pkg/utils/controller/run.go @@ -153,9 +153,9 @@ func reconcile(ctx context.Context, logger logr.Logger, obj interface{}, r recon } } logger = logger.WithValues("key", k, "namespace", ns, "name", n) - logger.Info("reconciling ...") + logger.V(4).Info("reconciling ...") defer func(start time.Time) { - logger.Info("done", "duration", time.Since(start).String()) + logger.V(4).Info("done", "duration", time.Since(start).String()) }(start) return r(ctx, logger, k, ns, n) }