]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- logging is now implemented via standard python "logging" module.
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Sep 2006 23:59:22 +0000 (23:59 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Sep 2006 23:59:22 +0000 (23:59 +0000)
commite812785c2d7985382458ca8dd7b2409b58c38eb2
tree02ccb8af8dee7d987738d35eeefbb5106dc67927
parent7daa9e1d6a0bddf46cbd47115b5f5a4ef56ce478
- logging is now implemented via standard python "logging" module.
"echo" keyword parameters are still functional but set/unset
log levels for their respective classes/instances.  all logging
can be controlled directly through the Python API by setting
INFO and DEBUG levels for loggers in the "sqlalchemy" namespace.
class-level logging is under "sqlalchemy.<module>.<classname>",
instance-level logging under "sqlalchemy.<module>.<classname>.<hexid>".
Test suite includes "--log-info" and "--log-debug" arguments
which work independently of --verbose/--quiet.  Logging added
to orm to allow tracking of mapper configurations, row iteration
fixes [ticket:229] [ticket:79]
25 files changed:
CHANGES
README.unittests
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/logging.py [new file with mode: 0644]
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/pool.py
lib/sqlalchemy/util.py
test/engine/pool.py
test/engine/transaction.py
test/orm/cascade.py
test/orm/cycles.py
test/orm/inheritance2.py
test/orm/inheritance3.py
test/orm/mapper.py
test/orm/poly_linked_list.py
test/orm/relationships.py
test/orm/session.py
test/orm/unitofwork.py
test/sql/indexes.py
test/testbase.py
test/zblog/mappers.py