1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Dump environnement to server debug log

Ref https://github.com/GNS3/gns3-gui/issues/921
This commit is contained in:
Julien Duponchelle 2016-01-15 10:11:32 +01:00
parent 8225bad76b
commit f83e878d89

View File

@ -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))