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)
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
On Aug 2, 2011, at 7:13 PM, Chris Withers wrote:
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