aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/loggers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/loggers.py b/gn3/loggers.py
index a74ae7e..5e52a9f 100644
--- a/gn3/loggers.py
+++ b/gn3/loggers.py
@@ -14,8 +14,8 @@ def setup_app_handlers(app):
"""Setup the logging handlers for the application `app`."""
# ========== Setup handlers ==========
stderr_handler = StreamHandler(stream=sys.stderr)
- stderr_handler.setLevel(loglevel(app))
app.logger.addHandler(stderr_handler)
# ========== END: Setup handlers ==========
root_logger = logging.getLogger()
root_logger.addHandler(stderr_handler)
+ root_logger.setLevel(loglevel(app))