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:
parent
6b45ec1b0c
commit
df7c405845
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user