Move PeerFinder's logger to the expected package (#39412)

Today the abstract `org.elasticsearch.discovery.PeerFinder` uses the logger of
its implementation, which in production is in `o.e.cluster.coordination`. This
turns out to be confusing and unhelpful, so with this change we move to using
the logger that belongs to `PeerFinder`.
This commit is contained in:
David Turner 2019-02-27 08:29:39 +00:00
parent 28b771f5db
commit 41668f7723
1 changed files with 1 additions and 1 deletions

View File

@ -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";