mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Dump environnement to server debug log
Ref https://github.com/GNS3/gns3-gui/issues/921
This commit is contained in:
parent
8225bad76b
commit
f83e878d89
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user