Ugly hack to have the name of the main logger, otherwise error/exception messages ain't displayed

This commit is contained in:
Alexandre Aubin 2020-08-27 19:22:09 +02:00
parent 5f242aea18
commit 77ce657ae1

View file

@ -99,6 +99,7 @@ def init_logging(interface="cli",
if interface != "api":
configure_logging({
'version': 1,
'main_logger': "yunohost",
'disable_existing_loggers': True,
'formatters': {
'tty-debug': {