diff --git a/app/__init__.py b/app/__init__.py index 8921b18..ec2f2ee 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -14,6 +14,10 @@ def create_app(config_name): db.init_app(app) + import logging + logging.basicConfig() + logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO) + from .main import main as main_blueprint app.register_blueprint(main_blueprint)