Turn off SQL query logging at log level INFO.

Fixes LP Bug #1013235.

Change-Id: I5651a4f22bc396d7d082f95b1ef6df107b943fb5
This commit is contained in:
Dan Prince 2012-06-14 11:48:27 -04:00
parent 060a75b506
commit 1b78c75bb6

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')