[sqlalchemy] Re: Logging facilities of SQLAlchemy

2009-06-13 Thread Anton Gritsay
unfortunately the logging module included with Python adds significant performance overhead even if no handlers are configured.   We would like to be able to have fine-grained logging available in our library, but at the same time when the logging is disabled for significant latency to not

[sqlalchemy] Re: Logging facilities of SQLAlchemy

2009-06-12 Thread Michael Bayer
General wrote: First issue is _should_log_* properties. What for are they exist? Standard lib's logging module allows to fine-tune levels per-logger or per-handler. But with those strange props such simple code works not as it should: engine_logger =