Skip to content

Commit

Permalink
fix: unable to apply logging format (apache#14074)
Browse files Browse the repository at this point in the history
* fix: unable to apply logging format

* Update superset/app.py

Great!

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
  • Loading branch information
2 people authored and Allan Caetano de Oliveira committed May 21, 2021
1 parent fd229a9 commit bea63cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,13 +549,14 @@ def init_app(self) -> None:
order to fully init the app
"""
self.pre_init()
# Configuration of logging must be done first to apply the formatter properly
self.configure_logging()
self.setup_db()
self.configure_celery()
self.setup_event_logger()
self.setup_bundle_manifest()
self.register_blueprints()
self.configure_wtf()
self.configure_logging()
self.configure_middlewares()
self.configure_cache()

Expand Down

0 comments on commit bea63cb

Please sign in to comment.