Improve logging

This commit is contained in:
croneter 2019-04-17 16:32:11 +02:00
parent 130ec674e5
commit 4fa1f48b43

View file

@ -72,6 +72,7 @@ class WebService(backgroundthread.KillableThread):
try:
server = HttpServer(('127.0.0.1', v.WEBSERVICE_PORT),
RequestHandler)
LOG.info('Serving http on %s', server.socket.getsockname())
server.serve_forever()
except Exception as error:
LOG.error('Error encountered: %s', error)