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:
parent
28b771f5db
commit
41668f7723
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue