From dddbc08d2c18924d35991be5cbac0cdd27829db6 Mon Sep 17 00:00:00 2001 From: ManishaKumari295 <138477142+ManishaKumari295@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:48:11 +0530 Subject: [PATCH] Removed the log messages of matched entities --- backend/schedulerd/executor.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/schedulerd/executor.go b/backend/schedulerd/executor.go index 589f07d14..6a38b99d0 100644 --- a/backend/schedulerd/executor.go +++ b/backend/schedulerd/executor.go @@ -309,10 +309,6 @@ func processCheck(ctx context.Context, executor Executor, check *corev2.CheckCon } // publish proxy requests on matching entities if matchedEntities := matchEntities(entities, check.ProxyRequests); len(matchedEntities) != 0 { - //display matched entities - matchedEntityJson, _ := json.Marshal(matchedEntities) - matchedEntityJsonData := string(matchedEntityJson) - logger.WithFields(fields).Infof("matched entities: %s", matchedEntityJsonData) if err := executor.publishProxyCheckRequests(matchedEntities, check); err != nil { logger.WithFields(fields).WithError(err).Error("error publishing proxy check requests") }