You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yo...@apache.org on 2021/04/13 03:28:13 UTC
[superset] branch master updated: fix: unable to apply logging
format (#14074)
This is an automated email from the ASF dual-hosted git repository.
yongjiezhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 80da1ca fix: unable to apply logging format (#14074)
80da1ca is described below
commit 80da1ca9957516e98efff4c517e433100e761938
Author: Yongjie Zhao <yo...@apache.org>
AuthorDate: Tue Apr 13 11:26:34 2021 +0800
fix: unable to apply logging format (#14074)
* fix: unable to apply logging format
* Update superset/app.py
Great!
Co-authored-by: Erik Ritter <er...@airbnb.com>
Co-authored-by: Erik Ritter <er...@airbnb.com>
---
superset/app.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset/app.py b/superset/app.py
index f0f5dc1..cd7bf36 100644
--- a/superset/app.py
+++ b/superset/app.py
@@ -549,13 +549,14 @@ class SupersetAppInitializer:
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()