Changeset - 1952682be9f8
[Not reviewed]
default
0 1 0
Søren Løvborg - 9 years ago 2016-07-28 13:46:04
sorenl@unity3d.com
db: increase default Alembic log level to INFO

A log level of WARNING meant that Alembic was entirely silent when
nothing went wrong. With INFO, Alembic actually shows what migrations
it is running.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/alembic/env.py
Show inline comments
 
@@ -33,13 +33,13 @@ database_url = (
 
    config.get_main_option('sqlalchemy.url') or
 
    config.get_section_option('app:main', 'sqlalchemy.db1.url')
 
)
 

	
 
# Configure default logging for Alembic. (This can be overriden by the
 
# config file, but usually isn't.)
 
logging.getLogger('alembic').setLevel(logging.WARNING)
 
logging.getLogger('alembic').setLevel(logging.INFO)
 

	
 
# Setup Python loggers based on the config file provided to the alembic
 
# command. If we're being invoked via the Alembic API (presumably for
 
# stamping during "paster setup-db"), config_file_name is not available,
 
# and loggers are assumed to already have been configured.
 
if config.config_file_name:
0 comments (0 inline, 0 general)