From 70df575d4377f2fa2ecdbaec85b931d893821e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Tue, 9 Nov 2021 21:04:58 +0100 Subject: [PATCH] Make log settings not cache local only config After startup the cached config would be without remote config. This makes sure the config without remote isn't cached. --- mycroft/util/log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mycroft/util/log.py b/mycroft/util/log.py index 5894784e89..5f7c9f92b5 100644 --- a/mycroft/util/log.py +++ b/mycroft/util/log.py @@ -86,7 +86,8 @@ class LOG: cls.handler = logging.StreamHandler(sys.stdout) cls.handler.setFormatter(formatter) - config = mycroft.configuration.Configuration.get(remote=False) + config = mycroft.configuration.Configuration.get(cache=False, + remote=False) if config.get('log_format'): formatter = logging.Formatter(config.get('log_format'), style='{') cls.handler.setFormatter(formatter)