From 89a044e08c6eeb438915bea93d2b379d7b12b5c6 Mon Sep 17 00:00:00 2001 From: Kshitij Tandon Date: Fri, 18 Oct 2024 14:26:10 +0530 Subject: [PATCH] Using trace in place of warn in logger Signed-off-by: Kshitij Tandon --- .../indexmanagement/rollup/interceptor/RollupInterceptor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/opensearch/indexmanagement/rollup/interceptor/RollupInterceptor.kt b/src/main/kotlin/org/opensearch/indexmanagement/rollup/interceptor/RollupInterceptor.kt index 322b4c34e..694d2646c 100644 --- a/src/main/kotlin/org/opensearch/indexmanagement/rollup/interceptor/RollupInterceptor.kt +++ b/src/main/kotlin/org/opensearch/indexmanagement/rollup/interceptor/RollupInterceptor.kt @@ -354,7 +354,7 @@ class RollupInterceptor( request.source(request.source().rewriteSearchSourceBuilder(matchingRollupJobs.keys, fieldNameMappingTypeMap, concreteSourceIndex)) } else { if (matchingRollupJobs.keys.size > 1) { - logger.warn("Trying search with search across multiple rollup jobs disabled so will give result with largest rollup window") + logger.trace("Trying search with search across multiple rollup jobs disabled so will give result with largest rollup window") } request.source(request.source().rewriteSearchSourceBuilder(matchedRollup, fieldNameMappingTypeMap, concreteSourceIndex)) }