From c6c40f0c84994b78c5ed0273a9dcd1a3ca473e4e Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Fri, 3 Feb 2017 14:00:49 +0000 Subject: [PATCH] Cleaned up logging in the webdriver to remove log that fails to display correctly on Windows. --- node/src/main/kotlin/net/corda/node/webserver/WebServer.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/node/src/main/kotlin/net/corda/node/webserver/WebServer.kt b/node/src/main/kotlin/net/corda/node/webserver/WebServer.kt index cf9b774231..8244a04f67 100644 --- a/node/src/main/kotlin/net/corda/node/webserver/WebServer.kt +++ b/node/src/main/kotlin/net/corda/node/webserver/WebServer.kt @@ -95,17 +95,14 @@ class WebServer(val config: FullNodeConfiguration) { val httpConfiguration = HttpConfiguration() httpConfiguration.outputBufferSize = 32768 val httpConnector = ServerConnector(server, HttpConnectionFactory(httpConfiguration)) - log.info("Starting webserver on address $address") httpConnector.port = address.port httpConnector } server.connectors = arrayOf(connector) server.handler = handlerCollection - //runOnStop += Runnable { server.stop() } server.start() - log.info("Server started") - log.info("Embedded web server is listening on", "http://${InetAddress.getLocalHost().hostAddress}:${connector.port}/") + log.info("Started webserver on address $address") return server }