better logging (port number) when failing to bind
This commit is contained in:
parent
b2aae7f3a0
commit
e0f9f292ec
|
@ -183,7 +183,7 @@ public class MulticastZenPing extends AbstractLifecycleComponent<ZenPing> implem
|
|||
multicastSocket.close();
|
||||
multicastSocket = null;
|
||||
}
|
||||
logger.warn("disabled, failed to setup multicast discovery on {}: {}", multicastInterface, e.getMessage());
|
||||
logger.warn("disabled, failed to setup multicast discovery on port [{}], [{}]: {}", port, multicastInterface, e.getMessage());
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("disabled, failed to setup multicast discovery on {}", e, multicastInterface);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue