core: add dedicated flag to debug sql queries instead of rely of debug flag which is for something else.
This commit is contained in:
parent
91c589e803
commit
780efd065b
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ def engine_from_config(configuration, prefix='sqlalchemy.', **kwargs):
|
|||
"""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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue