]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Make the multidb env logger appear in default output.
authorScott Sturdivant <scott.sturdivant@gmail.com>
Mon, 15 Jul 2013 17:23:53 +0000 (11:23 -0600)
committerScott Sturdivant <scott.sturdivant@gmail.com>
Mon, 15 Jul 2013 17:23:53 +0000 (11:23 -0600)
alembic/templates/multidb/env.py

index b5f205c3de8f99f34bf69413f6373cdd1bf646c1..1b86896b63faaa0aad4523caf32258b03d7700e8 100644 (file)
@@ -14,7 +14,7 @@ config = context.config
 # Interpret the config file for Python logging.
 # This line sets up loggers basically.
 fileConfig(config.config_file_name)
-logger = logging.getLogger(__name__)
+logger = logging.getLogger('alembic.env')
 
 # gather section names referring to different
 # databases.  These are named "engine1", "engine2"