Cleaned up logging in the webdriver to remove log that fails to display correctly on Windows.

This commit is contained in:
Clinton Alexander 2017-02-03 14:00:49 +00:00
parent b86c80691e
commit 0ae681de76

View File

@ -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>(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
}