Merge "Turn off SQL query logging at log level INFO."
This commit is contained in:
commit
7f4bea708a
@ -121,8 +121,6 @@ def configure_db():
|
|||||||
sa_logger = logging.getLogger('sqlalchemy.engine')
|
sa_logger = logging.getLogger('sqlalchemy.engine')
|
||||||
if CONF.debug:
|
if CONF.debug:
|
||||||
sa_logger.setLevel(logging.DEBUG)
|
sa_logger.setLevel(logging.DEBUG)
|
||||||
elif CONF.verbose:
|
|
||||||
sa_logger.setLevel(logging.INFO)
|
|
||||||
|
|
||||||
if CONF.db_auto_create:
|
if CONF.db_auto_create:
|
||||||
logger.info('auto-creating glance registry DB')
|
logger.info('auto-creating glance registry DB')
|
||||||
|
Loading…
Reference in New Issue
Block a user