Browse Source

Merge branch 'feature/logger-propagation'

pull/2024/head
Armin Ronacher 8 years ago
parent
commit
83fd5b26b8
  1. 1
      CHANGES
  2. 4
      flask/logging.py

1
CHANGES

@ -17,6 +17,7 @@ Version 0.12
a Internal Server Error (pull request ``#2006``).
- Correctly invoke response handlers for both regular request dispatching as
well as error handlers.
- Disable logger propagation by default for the app logger.
Version 0.11.2
--------------

4
flask/logging.py

@ -87,4 +87,8 @@ def create_logger(app):
logger.__class__ = DebugLogger
logger.addHandler(debug_handler)
logger.addHandler(prod_handler)
# Disable propagation by default
logger.propagate = False
return logger

Loading…
Cancel
Save