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.pull/3033/head
parent
5ff2cb099f
commit
70df575d43
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue