From a2c3ef81303b90f36e0101834ddda77186f16f8c Mon Sep 17 00:00:00 2001 From: Trey Gilliland Date: Mon, 6 Feb 2023 18:29:06 -0500 Subject: [PATCH] fix(migrations): Flask-Migrate output is not logged during alembic migrations #17991 (#22991) --- superset/migrations/alembic.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/superset/migrations/alembic.ini b/superset/migrations/alembic.ini index 28169d2bebf81..1b330a59e206d 100644 --- a/superset/migrations/alembic.ini +++ b/superset/migrations/alembic.ini @@ -28,7 +28,7 @@ file_template = %%(year)d-%%(month).2d-%%(day).2d_%%(hour).2d-%%(minute).2d_%%(r # Logging configuration [loggers] -keys = root,sqlalchemy,alembic +keys = root,sqlalchemy,alembic,flask_migrate [handlers] keys = console @@ -60,3 +60,8 @@ formatter = generic [formatter_generic] format = %(levelname)-5.5s [%(name)s] %(message)s datefmt = %H:%M:%S + +[logger_flask_migrate] +level = DEBUG +handlers = +qualname = flask_migrate