[fix][log] active domains list logging
This commit is contained in:
parent
df555c7d26
commit
979007f287
@ -67,9 +67,9 @@ class HalfAPI(Starlette):
|
||||
|
||||
logger.info('Config: %s', self.config)
|
||||
logger.info('Active domains: %s',
|
||||
filter(
|
||||
list(filter(
|
||||
lambda n: n.get('enabled', False),
|
||||
self.config.get('domain', {})))
|
||||
self.config.get('domain', {}).values())))
|
||||
|
||||
if d_routes:
|
||||
# Mount the routes from the d_routes argument - domain-less mode
|
||||
|
Loading…
Reference in New Issue
Block a user