[Sqlalchemy-tickets] Issue #3168: Connection checkouts from pool are not logged (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
|
From: oargon <iss...@bi...> - 2014-08-20 11:58:27
|
New issue 3168: Connection checkouts from pool are not logged https://bitbucket.org/zzzeek/sqlalchemy/issue/3168/connection-checkouts-from-pool-are-not oargon: I remeber that this worked on previous versions but I'm not sure when it stopped working. It seems like there are no longer log lines when a connection is being checked out from the pool, only when it is returned back to the pool. Tested with 0.9.7. The output for running the attached test file is: DEBUG:sqlalchemy.pool.QueuePool:Created new connection <pymysql.connections.Connection object at 0x7f129737d3d0> DEBUG:sqlalchemy.pool.QueuePool:Connection <pymysql.connections.Connection object at 0x7f129737d3d0> being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection <pymysql.connections.Connection object at 0x7f129737d3d0> rollback-on-return DEBUG:sqlalchemy.pool.QueuePool:Connection <pymysql.connections.Connection object at 0x7f129737d3d0> being returned to pool DEBUG:sqlalchemy.pool.QueuePool:Connection <pymysql.connections.Connection object at 0x7f129737d3d0> rollback-on-return |