Log all interfaces we try to bind before binding

This commit is contained in:
Simon Willnauer 2015-08-19 17:20:48 +02:00
parent 88d482437a
commit 22ae0a161f
1 changed files with 3 additions and 0 deletions

View File

@ -404,6 +404,9 @@ public class NettyTransport extends AbstractLifecycleComponent<Transport> 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);
}