Skip to content

Commit

Permalink
Turn off SQL query logging at log level INFO.
Browse files Browse the repository at this point in the history
Fixes LP Bug #1013235.

Change-Id: I5651a4f22bc396d7d082f95b1ef6df107b943fb5
  • Loading branch information
dprince committed Jun 14, 2012
1 parent 060a75b commit 1b78c75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions glance/db/sqlalchemy/api.py
Expand Up @@ -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')
Expand Down

0 comments on commit 1b78c75

Please sign in to comment.