Re: [sqlalchemy] misleading docs on logging

2011-08-05 Thread Chris Withers
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)

[sqlalchemy] misleading docs on logging

2011-08-02 Thread Chris Withers
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

Re: [sqlalchemy] misleading docs on logging

2011-08-02 Thread Michael Bayer
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