From c1fa80d40fba1afdc86520568718bae3273ad6ea Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Sat, 26 Nov 2016 13:18:26 +0100 Subject: [PATCH] Log failure to connect to node at info instead of debug (#21809) Closes #6468 --- .../client/transport/TransportClientNodesService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java b/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java index 97df1905975..c4f46294cd4 100644 --- a/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java +++ b/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java @@ -391,7 +391,7 @@ final class TransportClientNodesService extends AbstractComponent implements Clo logger.trace("connecting to listed node (light) [{}]", listedNode); transportService.connectToNodeLight(listedNode); } catch (Exception e) { - logger.debug( + logger.info( (Supplier) () -> new ParameterizedMessage("failed to connect to node [{}], removed from nodes list", listedNode), e); hostFailureListener.onNodeDisconnected(listedNode, e);