Merge "Turn off SQL query logging at log level INFO."

This commit is contained in:
Jenkins 2012-06-15 17:55:45 +00:00 committed by Gerrit Code Review
commit 7f4bea708a

View File

@ -121,8 +121,6 @@ def configure_db():
sa_logger = logging.getLogger('sqlalchemy.engine')
if CONF.debug:
sa_logger.setLevel(logging.DEBUG)
elif CONF.verbose:
sa_logger.setLevel(logging.INFO)
if CONF.db_auto_create:
logger.info('auto-creating glance registry DB')