From f83e878d89d367d1698dc984a07e0eee70803c33 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 15 Jan 2016 10:11:32 +0100 Subject: [PATCH] Dump environnement to server debug log Ref https://github.com/GNS3/gns3-gui/issues/921 --- gns3server/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gns3server/server.py b/gns3server/server.py index ba6d7650..fc818ade 100644 --- a/gns3server/server.py +++ b/gns3server/server.py @@ -226,6 +226,9 @@ class Server: # Asyncio will raise error if coroutine is not called self._loop.set_debug(True) + for key, val in os.environ.items(): + log.debug("ENV %s=%s", key, val) + app = aiohttp.web.Application() for method, route, handler in Route.get_routes(): log.debug("Adding route: {} {}".format(method, route))