log both listening and binding addresses if they are different

This commit is contained in:
Yoel Garcia Diaz 2019-03-07 08:03:39 +00:00 committed by Yoel García Díaz
parent 9e16c02b0d
commit b2fcc9f1b0

View file

@ -459,9 +459,18 @@ private[remote] abstract class ArteryTransport(_system: ExtendedActorSystem, _pr
startRemoveQuarantinedAssociationTask()
if (localAddress.address == bindAddress.address)
log.info(
"Remoting started with transport [Artery {}]; listening on address [{}] with UID [{}]",
settings.Transport, bindAddress.address, bindAddress.uid)
else {
log.info(
"Remoting started with transport [Artery {}];", settings.Transport)
log.info(
"Remoting is listening on address [{}] with UID [{}] and bind to [{}] with UID [{}]",
localAddress.address, localAddress.uid, bindAddress.address, bindAddress.uid)
}
}
protected def startTransport(): Unit