]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- orm: Removed a lot of logging that nobody really cares about,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Feb 2010 17:43:10 +0000 (17:43 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Feb 2010 17:43:10 +0000 (17:43 +0000)
commitba015e62cc1c688b11a7b8f916867f123a6fe206
treee88563a37f0e4b60484986d55b3ad03903fe7232
parent3328792ebcc6af92c9c4e486e755a43300f6a279
- orm: Removed a lot of logging that nobody really cares about,
logging that remains will respond to live changes in the
log level.  No significant overhead is added.  [ticket:1719]
- engine: Opened up logging a bit such that isEnabledFor() is called
more often, so that changes to the log level for engine/pool
will be reflected on next connect.   This adds a small
amount of method call overhead.  It's negligible and will make
life a lot easier for all those situations when logging
just happens to be configured after create_engine() is called.
[ticket:1719]
13 files changed:
CHANGES
lib/sqlalchemy/dialects/maxdb/base.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/log.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/pool.py
lib/sqlalchemy/test/noseplugin.py
test/aaa_profiling/test_pool.py
test/aaa_profiling/test_zoomark.py
test/aaa_profiling/test_zoomark_orm.py