From 77ce657ae1809ef0d62bfedc44799144e141e3ff Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 27 Aug 2020 19:22:09 +0200 Subject: [PATCH] Ugly hack to have the name of the main logger, otherwise error/exception messages ain't displayed --- src/yunohost/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/__init__.py b/src/yunohost/__init__.py index 810d6127a..ce505ffd9 100644 --- a/src/yunohost/__init__.py +++ b/src/yunohost/__init__.py @@ -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': {