Skip to content
Myr

Merge branch 'feature/logger-propagation'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents a40489e, e00e2c2 · Browse files · 2 files+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−0 removed

  • other:+5 added−0 removed

2 files+5 added−0 removed

modified:flask/logging.py+4 added
85 unmodified lines
86 del logger.handlers[:]87 logger.__class__ = DebugLogger88 logger.addHandler(debug_handler)89 logger.addHandler(prod_handler)9091 # Disable propagation by default92 logger.propagate = False9394 return logger
modified:CHANGES+1 added
15 unmodified lines
16- Revert a behavior change that made the dev server crash instead of returning17 a Internal Server Error (pull request ``#2006``).18- Correctly invoke response handlers for both regular request dispatching as19 well as error handlers.20- Disable logger propagation by default for the app logger.2122Version 0.11.223--------------24
572 unmodified lines