mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] activate moulinette.core and moulinette.interface.api logging in api
This commit is contained in:
parent
cf560b8f91
commit
c931f8a532
1 changed files with 10 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue