From 22ae0a161f325f7af921df2062a974ce325d526c Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 19 Aug 2015 17:20:48 +0200 Subject: [PATCH] Log all interfaces we try to bind before binding --- .../java/org/elasticsearch/transport/netty/NettyTransport.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java b/core/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java index e3f36bd24a3..372c3b42cb6 100644 --- a/core/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java +++ b/core/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java @@ -404,6 +404,9 @@ public class NettyTransport extends AbstractLifecycleComponent implem } catch (IOException e) { throw new BindTransportException("Failed to resolve host [" + bindHost + "]", e); } + if (logger.isDebugEnabled()) { + logger.debug("binding server bootstrap to: {}", hostAddresses); + } for (InetAddress hostAddress : hostAddresses) { bindServerBootstrap(name, hostAddress, settings); }