From e3fef56af89096c2585cc2dfcdbb346c3a2a4d60 Mon Sep 17 00:00:00 2001 From: Xiangjing Li <55890329+xiangjingli@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:31:51 -0500 Subject: [PATCH] set up log level to 1 to avoid massively logging (#97) Signed-off-by: Xiangjing Li (cherry picked from commit 62440e485d8b5db9953d9eb4e2623f1c3d0f48e6) --- pkg/controller/gitopssyncresc/gitopssyncresc_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/gitopssyncresc/gitopssyncresc_controller.go b/pkg/controller/gitopssyncresc/gitopssyncresc_controller.go index 8de71d1..c649877 100644 --- a/pkg/controller/gitopssyncresc/gitopssyncresc_controller.go +++ b/pkg/controller/gitopssyncresc/gitopssyncresc_controller.go @@ -188,7 +188,7 @@ func (r *GitOpsSyncResource) syncResources() error { // Skip application that don't belong to an appset if hostingAppsetName == nil { - klog.Infof("skip application %v/%v on cluster %v, it does not belong to an appset", itemmap["namespace"], itemmap["name"], managedClusterName) + klog.V(1).Infof("skip application %v/%v on cluster %v, it does not belong to an appset", itemmap["namespace"], itemmap["name"], managedClusterName) return nil }