From d07446e35bc1a1a41b6341f0d20bc2e0b8280cc5 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Sun, 4 Sep 2022 19:01:37 -0700 Subject: [PATCH] Cleanup unused logger. Signed-off-by: Marc Handalian --- .../org/opensearch/indices/replication/common/CopyState.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/main/java/org/opensearch/indices/replication/common/CopyState.java b/server/src/main/java/org/opensearch/indices/replication/common/CopyState.java index 9ded0125b7c17..1dd0886fd2f36 100644 --- a/server/src/main/java/org/opensearch/indices/replication/common/CopyState.java +++ b/server/src/main/java/org/opensearch/indices/replication/common/CopyState.java @@ -8,8 +8,6 @@ package org.opensearch.indices.replication.common; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; import org.apache.lucene.index.IndexCommit; import org.apache.lucene.index.SegmentInfos; import org.apache.lucene.store.ByteBuffersDataOutput; @@ -41,7 +39,6 @@ public class CopyState extends AbstractRefCounted { private final byte[] infosBytes; private GatedCloseable commitRef; private final IndexShard shard; - public static final Logger logger = LogManager.getLogger(CopyState.class); public CopyState(ReplicationCheckpoint requestedReplicationCheckpoint, IndexShard shard) throws IOException { super("CopyState-" + shard.shardId());