Thanks. Now I'm able to confirm that connections are being returned to the pool.
On Monday, July 9, 2012 3:50:53 PM UTC+2, Michael Bayer wrote: > > don't feel bad because I had to spend 10 minutes figuring this out again, > to see checkin/checkout events you need to use echo_pool="debug". > echo_pool=True just shows major events like connection invalidations. > > > On Jul 9, 2012, at 9:25 AM, bojanb wrote: > > Hi, > > I'm trying to debug some issues with sessions in my SQLAlchemy 0.7.4 > application. However, setting echo_pool to True doesn't seem to log > anything to standard output: > > db_engine=create_engine(DB_URI, echo_pool=True) > Session = sessionmaker(bind=db_engine) > > Standard logging (echo=True) works fine of course. Any idea on what might > be wrong? > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/sqlalchemy/-/O33Kntq9gP8J. > To post to this group, send email to sqlalchemy@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/hFY4x-1N9n4J. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.