[CORDA-1136] Update startup message of P2P address and port (#2698)

This commit is contained in:
Thomas Schroeter 2018-03-02 08:50:31 +00:00 committed by GitHub
parent 8616f24523
commit f9bfebe4a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ open class Node(configuration: NodeConfiguration,
val advertisedAddress = info.addresses[0]
bridgeControlListener = BridgeControlListener(configuration, serverAddress, networkParameters.maxMessageSize)
printBasicNodeInfo("Incoming connection address", advertisedAddress.toString())
printBasicNodeInfo("Advertised P2P messaging addresses", info.addresses.joinToString())
rpcServerAddresses?.let {
rpcMessagingClient = RPCMessagingClient(configuration.rpcOptions.sslConfig, it.admin, networkParameters.maxMessageSize)
}

View File

@ -120,7 +120,7 @@ class ArtemisMessagingServer(private val config: NodeConfiguration,
}
// Config driven switch between legacy CORE bridges and the newer AMQP protocol bridges.
activeMQServer.start()
Node.printBasicNodeInfo("Listening on port", p2pPort.toString())
log.info("P2P messaging server listening on port $p2pPort")
}
private fun createArtemisConfig() = SecureArtemisConfiguration().apply {