On 03/08/2011 01:01, Michael Bayer wrote:
import logging
logging.getLogger('sqlalchemy').setLevel(logging.INFO)
logging.getLogger('sqlalchemy.pool').setLevel(logging.DEBUG)
logging.getLogger('sqlalchemy.engine').setLevel(logging.WARNING)
logging.getLogger('sqlalchemy.mapper').setLevel(logging.WARNING)

...to get just the pool logging, and then, with 0.6 at least, you find that 
things like checking connections in and out of the pool don't appear to be 
logged.

Am I missing something here?

Not sure if you're missing anything but I certainly am.   "sqlalchemy.pool" is 
the only logger involved with pool logging and I'm having a hard time imagining how 
you've arrived at your result !

Indeed, heat of the moment stuff. I could reproduce at the time, but can't now...

Apologies for the noise...

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to