Improve logging
This commit is contained in:
parent
130ec674e5
commit
4fa1f48b43
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ class WebService(backgroundthread.KillableThread):
|
||||||
try:
|
try:
|
||||||
server = HttpServer(('127.0.0.1', v.WEBSERVICE_PORT),
|
server = HttpServer(('127.0.0.1', v.WEBSERVICE_PORT),
|
||||||
RequestHandler)
|
RequestHandler)
|
||||||
|
LOG.info('Serving http on %s', server.socket.getsockname())
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
LOG.error('Error encountered: %s', error)
|
LOG.error('Error encountered: %s', error)
|
||||||
|
|
Loading…
Reference in a new issue