From 48975d948e4e50fe624e04befaa803ad5b02a4dd Mon Sep 17 00:00:00 2001 From: kirangodishala Date: Tue, 10 Dec 2024 23:25:10 +0530 Subject: [PATCH] fix(log): minor log refactor --- .../orca/sql/pipeline/persistence/SqlExecutionRepository.kt | 1 - .../netflix/spinnaker/orca/controllers/TaskController.groovy | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/orca-sql/src/main/kotlin/com/netflix/spinnaker/orca/sql/pipeline/persistence/SqlExecutionRepository.kt b/orca-sql/src/main/kotlin/com/netflix/spinnaker/orca/sql/pipeline/persistence/SqlExecutionRepository.kt index 889e439507..eabd127f0b 100644 --- a/orca-sql/src/main/kotlin/com/netflix/spinnaker/orca/sql/pipeline/persistence/SqlExecutionRepository.kt +++ b/orca-sql/src/main/kotlin/com/netflix/spinnaker/orca/sql/pipeline/persistence/SqlExecutionRepository.kt @@ -512,7 +512,6 @@ class SqlExecutionRepository( val finalResult: MutableList = mutableListOf() - log.info("getting execution ids") withPool(poolName) { val baseQuery = jooq.select(field("config_id"), field("id")) .from(table) diff --git a/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy b/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy index 49c12bcbed..430810d376 100644 --- a/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy +++ b/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy @@ -607,9 +607,9 @@ class TaskController { // get all relevant pipeline and strategy configs from front50 def pipelineConfigIds = front50Service.getPipelines(application, false)*.id as List - log.info("received ${pipelineConfigIds.size()} pipelines for application: $application from front50") + log.debug("received ${pipelineConfigIds.size()} pipelines for application: $application from front50") def strategyConfigIds = front50Service.getStrategies(application)*.id as List - log.info("received ${strategyConfigIds.size()} strategies for application: $application from front50") + log.debug("received ${strategyConfigIds.size()} strategies for application: $application from front50") def allFront50PipelineConfigIds = pipelineConfigIds + strategyConfigIds