[mod] activate moulinette.core and moulinette.interface.api logging in api

This commit is contained in:
Laurent Peuch 2020-12-31 14:05:58 +01:00 committed by Alexandre Aubin
parent cf560b8f91
commit c931f8a532

View file

@ -203,6 +203,16 @@ def init_logging(interface="cli",
'handlers': [],
'propagate': True,
},
'moulinette.core': {
'level': 'DEBUG' if debug else 'ERROR',
'handlers': ['file', 'tty'] if not quiet else ['file'],
'propagate': False,
},
'moulinette.interface.api': {
'level': 'DEBUG',
'handlers': [],
'propagate': True,
},
},
'root': {
'level': 'DEBUG',