mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix #1831
This commit is contained in:
parent
e3464a4898
commit
a5ae111c2a
@ -300,6 +300,9 @@ class LogLevelMixIn(object):
|
||||
log.set_logger_level(name, level)
|
||||
|
||||
def __setup_console_logger(self, *args):
|
||||
# If daemon is set force console logger to quiet
|
||||
if self.options.daemon:
|
||||
self.config['log_level'] = 'quiet'
|
||||
log.setup_console_logger(
|
||||
self.config['log_level'],
|
||||
log_format=self.config['log_fmt_console'],
|
||||
|
Loading…
Reference in New Issue
Block a user