pallets-eco / flask-debugtoolbar

A toolbar overlay for debugging Flask applications
https://flask-debugtoolbar.readthedocs.io
BSD 3-Clause "New" or "Revised" License
953 stars 146 forks source link

Logging panel not working by default #122

Closed romabysen closed 7 months ago

romabysen commented 6 years ago

With the current version of Flask, 0.12.2, the app.logger does not by default propagate to the root logger. This has the effect that no logging messages will be show in the toolbar. This can easily be fixed with something like:

if app.debug:
    app.logger.propagate = True

This should probably be mentioned in the documentation.

davidism commented 7 months ago

I can't reproduce this issue. Running the example application in the repo shows the logged message.