From b5d725a8ab20a7d2acb487dc08c4e4a67b8943ff Mon Sep 17 00:00:00 2001 From: Khushboo Rajput Date: Fri, 8 Mar 2024 18:24:06 +0530 Subject: [PATCH] Use Loggers.getLogger in TransportShardBulkAction Signed-off-by: Khushboo Rajput --- .../org/opensearch/action/bulk/TransportShardBulkAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/action/bulk/TransportShardBulkAction.java b/server/src/main/java/org/opensearch/action/bulk/TransportShardBulkAction.java index a7a13afd2597c..c020291522949 100644 --- a/server/src/main/java/org/opensearch/action/bulk/TransportShardBulkAction.java +++ b/server/src/main/java/org/opensearch/action/bulk/TransportShardBulkAction.java @@ -32,7 +32,6 @@ package org.opensearch.action.bulk; -import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.message.ParameterizedMessage; import org.apache.logging.log4j.util.MessageSupplier; @@ -70,6 +69,7 @@ import org.opensearch.common.compress.CompressedXContent; import org.opensearch.common.inject.Inject; import org.opensearch.common.lease.Releasable; +import org.opensearch.common.logging.Loggers; import org.opensearch.common.settings.Settings; import org.opensearch.common.unit.TimeValue; import org.opensearch.common.util.concurrent.AbstractRunnable; @@ -126,7 +126,7 @@ public class TransportShardBulkAction extends TransportWriteAction EXECUTOR_NAME_FUNCTION = shard -> { if (shard.indexSettings().getIndexMetadata().isSystem()) { return Names.SYSTEM_WRITE;