# HG changeset patch # User Marcin Kuzminski # Date 2019-12-19 17:00:00 # Node ID 72477738e642da6c1bab80fa0742db04440746af # Parent eb578430016d2efc4c37b270db5c87e4eb076d0e core: add dedicated flag to debug sql queries instead of rely of debug flag which is for something else. diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py --- a/rhodecode/lib/utils2.py +++ b/rhodecode/lib/utils2.py @@ -370,7 +370,7 @@ def engine_from_config(configuration, pr """Custom engine_from_config functions.""" log = logging.getLogger('sqlalchemy.engine') use_ping_connection = asbool(configuration.pop('sqlalchemy.db1.ping_connection', None)) - debug = asbool(configuration.get('debug')) + debug = asbool(configuration.pop('sqlalchemy.db1.debug_query', None)) engine = sqlalchemy.engine_from_config(configuration, prefix, **kwargs)