Disable query logging for now, so we get nicer logs

As the queries are quite verbose, disable them for now.
Reenabling them should be done in the central logging
config, which is another story for celery and bin/gmg.
This commit is contained in:
Elrond 2012-03-20 12:43:09 +01:00
parent 6b45ec1b0c
commit df7c405845

View File

@ -43,7 +43,7 @@ class DatabaseMaster(object):
def setup_connection_and_db_from_config(app_config):
engine = create_engine(app_config['sql_engine'])
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
# logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
Session.configure(bind=engine)
return "dummy conn", DatabaseMaster(engine)