Skip to content

Commit

Permalink
Move PeerFinder's logger to the expected package (#39412)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
DaveCTurner committed Feb 27, 2019
1 parent 28b771f commit 41668f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

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

Expand Down

0 comments on commit 41668f7

Please sign in to comment.