diff --git a/server/src/main/java/org/elasticsearch/discovery/PeerFinder.java b/server/src/main/java/org/elasticsearch/discovery/PeerFinder.java index 58248b8183d..32fd59d8a2c 100644 --- a/server/src/main/java/org/elasticsearch/discovery/PeerFinder.java +++ b/server/src/main/java/org/elasticsearch/discovery/PeerFinder.java @@ -69,7 +69,7 @@ import static org.elasticsearch.cluster.coordination.DiscoveryUpgradeService.cre public abstract class PeerFinder { - protected final Logger logger = LogManager.getLogger(getClass()); + private static final Logger logger = LogManager.getLogger(PeerFinder.class); public static final String REQUEST_PEERS_ACTION_NAME = "internal:discovery/request_peers";