From 0544deea42846989ae303fcc9f28077c8535d68b Mon Sep 17 00:00:00 2001 From: Xiangjing Li Date: Mon, 12 Feb 2024 13:43:23 -0500 Subject: [PATCH] set up log level to 1 to avoid massively logging Signed-off-by: Xiangjing Li --- 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 }