From f28511ea5eeccb611637c27f49413e48823fef4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Prante?= Date: Thu, 23 Feb 2023 23:04:34 +0100 Subject: [PATCH] logging rewrite --- .../src/main/java/org/xbib/elx/common/AbstractAdminClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elx-common/src/main/java/org/xbib/elx/common/AbstractAdminClient.java b/elx-common/src/main/java/org/xbib/elx/common/AbstractAdminClient.java index ac38c3f..9750f7a 100644 --- a/elx-common/src/main/java/org/xbib/elx/common/AbstractAdminClient.java +++ b/elx-common/src/main/java/org/xbib/elx/common/AbstractAdminClient.java @@ -553,7 +553,7 @@ public abstract class AbstractAdminClient extends AbstractBasicClient implements @Override public void forceMerge(String indexName, int maxNumSegments) { ensureClientIsPresent(); - logger.info("starting force merge of " + indexName + " to " + maxNumSegments + " segments"); + logger.log(Level.INFO, "starting force merge of " + indexName + " to " + maxNumSegments + " segments"); ForceMergeRequest forceMergeRequest = new ForceMergeRequest(); forceMergeRequest.indices(indexName); forceMergeRequest.maxNumSegments(maxNumSegments);