From fa3b45ea6ecd16f436bbdee210745335128bf514 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Fri, 5 Oct 2018 10:50:06 +0100 Subject: [PATCH] use the root logger for alembic error messages --- flask_migrate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_migrate/__init__.py b/flask_migrate/__init__.py index 1744642..6d38fe2 100755 --- a/flask_migrate/__init__.py +++ b/flask_migrate/__init__.py @@ -14,7 +14,7 @@ from alembic.util import CommandError alembic_version = tuple([int(v) for v in __alembic_version__.split('.')[0:3]]) -log = logging.getLogger(__name__) +log = logging.getLogger() class _MigrateConfig(object):