mucha: now respects log level set in core.yaml
This commit is contained in:
parent
2418abacce
commit
37d24b3b4d
@ -33,8 +33,8 @@ class MuchaServlet:
|
|||||||
self.logger.addHandler(fileHandler)
|
self.logger.addHandler(fileHandler)
|
||||||
self.logger.addHandler(consoleHandler)
|
self.logger.addHandler(consoleHandler)
|
||||||
|
|
||||||
self.logger.setLevel(logging.INFO)
|
self.logger.setLevel(cfg.mucha.loglevel)
|
||||||
coloredlogs.install(level=logging.INFO, logger=self.logger, fmt=log_fmt_str)
|
coloredlogs.install(level=cfg.mucha.loglevel, logger=self.logger, fmt=log_fmt_str)
|
||||||
|
|
||||||
all_titles = Utils.get_all_titles()
|
all_titles = Utils.get_all_titles()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user