mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
[CORDA-2064]: Add "extraNetworkMapKeys" to node startup log. (#4021)
This commit is contained in:
parent
3110c75847
commit
6f241b69fc
@ -378,7 +378,11 @@ open class NodeStartup : CordaCliWrapper("corda", "Runs a Corda Node") {
|
||||
if (agentProperties.containsKey("sun.jdwp.listenerAddress")) {
|
||||
logger.info("Debug port: ${agentProperties.getProperty("sun.jdwp.listenerAddress")}")
|
||||
}
|
||||
logger.info("Starting as node on ${conf.p2pAddress}")
|
||||
var nodeStartedMessage = "Starting as node on ${conf.p2pAddress}"
|
||||
if (conf.extraNetworkMapKeys.isNotEmpty()) {
|
||||
nodeStartedMessage = "$nodeStartedMessage with additional Network Map keys ${conf.extraNetworkMapKeys.joinToString(prefix = "[", postfix = "]", separator = ", ")}"
|
||||
}
|
||||
logger.info(nodeStartedMessage)
|
||||
}
|
||||
|
||||
protected open fun registerWithNetwork(conf: NodeConfiguration, versionInfo: VersionInfo, nodeRegistrationConfig: NodeRegistrationOption) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user