Hi All,
Just me or does this:
http://www.sqlalchemy.org/docs/core/engines.html?highlight=logging#configuring-logging
...imply that to get pool logging you just need to do:
import logging
logging.getLogger('sqlalchemy.pool').setLevel(logging.DEBUG)
Whereas, in fact, you need to do:
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?
cheers,
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.