Minor: don't repeat the legal name of the node multiple times in the output (which causes indentation issues)

This commit is contained in:
Mike Hearn 2017-03-21 14:22:07 +01:00
parent 1d6fe30f03
commit 4c6548107a

View File

@ -142,9 +142,9 @@ class ArtemisMessagingServer(override val config: NodeConfiguration,
registerPostQueueDeletionCallback { address, qName -> log.debug { "Queue deleted: $qName for $address" } }
}
activeMQServer.start()
printBasicNodeInfo("Node ${this.config.myLegalName} listening on address", p2pHostPort.toString())
printBasicNodeInfo("Listening on address", p2pHostPort.toString())
if (rpcHostPort != null) {
printBasicNodeInfo("Node ${this.config.myLegalName} RPC service listening on address", rpcHostPort.toString())
printBasicNodeInfo("RPC service listening on address", rpcHostPort.toString())
}
}