mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Admin/API wasn't logging or displaying messages anymore
This commit is contained in:
parent
15d749fe5a
commit
bca4cd0c51
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ def init_logging(interface="cli",
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'yunohost': {
|
'yunohost': {
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
'handlers': ['file', 'api'] + ['console'] if debug else [],
|
'handlers': ['file', 'api'] + (['console'] if debug else []),
|
||||||
'propagate': False,
|
'propagate': False,
|
||||||
},
|
},
|
||||||
'moulinette': {
|
'moulinette': {
|
||||||
|
@ -201,6 +201,6 @@ def init_logging(interface="cli",
|
||||||
},
|
},
|
||||||
'root': {
|
'root': {
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
'handlers': ['file'] + ['console'] if debug else [],
|
'handlers': ['file'] + (['console'] if debug else []),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue