Browse Source

Configure logging immediately after configuring app

Alec Nikolas Reiter 7 years ago
parent
commit
4984fbbf08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/app.py

+ 1 - 1
flaskbb/app.py

@@ -73,6 +73,7 @@ def create_app(config=None):
     """
     app = Flask("flaskbb")
     configure_app(app, config)
+    configure_logging(app)
     configure_celery_app(app, celery)
     configure_extensions(app)
     load_plugins(app)
@@ -83,7 +84,6 @@ def create_app(config=None):
     configure_errorhandlers(app)
     configure_migrations(app)
     configure_translations(app)
-    configure_logging(app)
 
     app.pluggy.hook.flaskbb_additional_setup(app=app, pluggy=app.pluggy)