fix(migrations): Flask-Migrate output is not logged during alembic migrations #17991 (#22991)

This commit is contained in:
Trey Gilliland 2023-02-06 18:29:06 -05:00 committed by GitHub
parent 9dfaad772d
commit a2c3ef8130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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