1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +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 # Asyncio will raise error if coroutine is not called
self._loop.set_debug(True) self._loop.set_debug(True)
for key, val in os.environ.items():
log.debug("ENV %s=%s", key, val)
app = aiohttp.web.Application() app = aiohttp.web.Application()
for method, route, handler in Route.get_routes(): for method, route, handler in Route.get_routes():
log.debug("Adding route: {} {}".format(method, route)) log.debug("Adding route: {} {}".format(method, route))