]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- logging scale-back; the echo_uow flag on Session is deprecated, and unit of work...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Aug 2008 21:10:36 +0000 (21:10 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Aug 2008 21:10:36 +0000 (21:10 +0000)
commit4c29ed71d0f6ff656da4a04437097c290122f75c
tree9ffeef2a9cba96078139ee8155d2cfaaee9efe85
parent6f60e768837f6b91a75dc2d62dbd215471bf09f7
- logging scale-back; the echo_uow flag on Session is deprecated, and unit of work logging is now
class level like all the other logging.
- trimmed back the logging API, centralized class_logger() as the single point of configuration for
logging, removed per-instance logging checks from ORM.
- Engine and Pool logging remain at the instance level.  The modulus of "instance ids" has been upped
to 65535.  I'd like to remove the modulus altogether but I do see a couple of users each month
calling create_engine() on a per-request basis, an incorrect practice but I'd rather their applications
don't just run out of memory.
13 files changed:
CHANGES
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/log.py
lib/sqlalchemy/orm/dynamic.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/unitofwork.py
test/orm/inheritance/polymorph2.py