mirror of
https://github.com/corda/corda.git
synced 2025-01-11 23:43:03 +00:00
Cleaned up logging in the webdriver to remove log that fails to display correctly on Windows.
This commit is contained in:
parent
b86c80691e
commit
0ae681de76
@ -95,17 +95,14 @@ class WebServer(val config: FullNodeConfiguration) {
|
|||||||
val httpConfiguration = HttpConfiguration()
|
val httpConfiguration = HttpConfiguration()
|
||||||
httpConfiguration.outputBufferSize = 32768
|
httpConfiguration.outputBufferSize = 32768
|
||||||
val httpConnector = ServerConnector(server, HttpConnectionFactory(httpConfiguration))
|
val httpConnector = ServerConnector(server, HttpConnectionFactory(httpConfiguration))
|
||||||
log.info("Starting webserver on address $address")
|
|
||||||
httpConnector.port = address.port
|
httpConnector.port = address.port
|
||||||
httpConnector
|
httpConnector
|
||||||
}
|
}
|
||||||
server.connectors = arrayOf<Connector>(connector)
|
server.connectors = arrayOf<Connector>(connector)
|
||||||
|
|
||||||
server.handler = handlerCollection
|
server.handler = handlerCollection
|
||||||
//runOnStop += Runnable { server.stop() }
|
|
||||||
server.start()
|
server.start()
|
||||||
log.info("Server started")
|
log.info("Started webserver on address $address")
|
||||||
log.info("Embedded web server is listening on", "http://${InetAddress.getLocalHost().hostAddress}:${connector.port}/")
|
|
||||||
return server
|
return server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user