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:
Pedro Algarvio 2013-06-22 20:30:50 +01:00
parent 130cd902f0
commit aa94d3986f

View File

@ -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):