Fix setting default log levels
The default log level override wasn't sticking around because oslo.config resets the config when calling CONF(). We need to use set_default instead of setting the value directly. Change-Id: I43e12134027a657e8f2905ef4fa866332a7fb1dc
This commit is contained in:
parent
203228f899
commit
7a991d2f26
@ -47,7 +47,8 @@ def set_default_for_default_log_levels():
|
||||
]
|
||||
|
||||
log.register_options(CONF)
|
||||
CONF.default_log_levels.extend(extra_log_level_defaults)
|
||||
CONF.set_default('default_log_levels',
|
||||
CONF.default_log_levels + extra_log_level_defaults)
|
||||
|
||||
|
||||
def setup_logging():
|
||||
|
Loading…
Reference in New Issue
Block a user