get correct logging settings

workspace
Brendan Howell 7 years ago
parent 399ba17d24
commit bb5dbec714

@ -166,8 +166,8 @@ class Bureau(object):
self.load_config()
# setup log file
if hasattr(self.config, "debug"):
if self.config.debug:
if "debug" in self.config:
if self.config["debug"]:
log_level = logging.DEBUG
else:
log_level = logging.ERROR

Loading…
Cancel
Save