Merge pull request #3604 from yuvipanda/debug

Reduce logging verbosity of 'checking routes'
This commit is contained in:
Min RK
2021-09-14 14:19:58 +02:00
committed by GitHub

View File

@@ -341,10 +341,8 @@ class Proxy(LoggingConfigurable):
if not routes: if not routes:
self.log.debug("Fetching routes to check") self.log.debug("Fetching routes to check")
routes = await self.get_all_routes() routes = await self.get_all_routes()
# log info-level that we are starting the route-checking
# this may help diagnose performance issues, self.log.debug("Checking routes")
# as we are about
self.log.info("Checking routes")
user_routes = {path for path, r in routes.items() if 'user' in r['data']} user_routes = {path for path, r in routes.items() if 'user' in r['data']}
futures = [] futures = []