From 4fa1f48b4366677419d83ac033943ec05cfa6025 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 17 Apr 2019 16:32:11 +0200 Subject: [PATCH] Improve logging --- resources/lib/webservice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/webservice.py b/resources/lib/webservice.py index 1fb23441..8aa56161 100644 --- a/resources/lib/webservice.py +++ b/resources/lib/webservice.py @@ -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)