mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Granular levels show also be set when setting up the console logger.
When configuring the log file logging this same operation will be executed again, but it's not an expensive operation.
This commit is contained in:
parent
130cd902f0
commit
aa94d3986f
@ -560,6 +560,8 @@ class LogLevelMixIn(object):
|
||||
log.setup_console_logger(
|
||||
self.config['log_level'], log_format=logfmt, date_format=datefmt
|
||||
)
|
||||
for name, level in self.config['log_granular_levels'].items():
|
||||
log.set_logger_level(name, level)
|
||||
|
||||
|
||||
class RunUserMixin(object):
|
||||
|
Loading…
Reference in New Issue
Block a user