You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the quart documentation, logging configuration can be provided by configuring a logger called 'quart.app' via dictConfig. However, I've found that the log level pulled from current_app.logger uses the name 'app', rather than 'quart.app', and can therefore only be configured by setting 'app' up in dictConfig.
Example:
I would expect a configuration that looks like this:
to configure current_app.logger with a log level of INFO, per your documentation, but it actually sets that logger to WARN, since it's using 'app'
Environment:
Python version: 3.10.13
Quart version: 0.19.4
The text was updated successfully, but these errors were encountered:
Per the quart documentation, logging configuration can be provided by configuring a logger called 'quart.app' via dictConfig. However, I've found that the log level pulled from
current_app.logger
uses the name 'app', rather than 'quart.app', and can therefore only be configured by setting 'app' up in dictConfig.Example:
I would expect a configuration that looks like this:
to configure
current_app.logger
with a log level of INFO, per your documentation, but it actually sets that logger to WARN, since it's using 'app'Environment:
The text was updated successfully, but these errors were encountered: