summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/log.py
Commit message (Collapse)AuthorAgeFilesLines
* -whitespace removal bonanzaMike Bayer2011-01-021-6/+6
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-2/+2
| | | | | a consistent tag - AUTHORS file
* - Added "logging_name" argument to create_engine(), Pool() constructorMike Bayer2010-03-131-10/+16
| | | | | | | as well as "pool_logging_name" argument to create_engine() which filters down to that of Pool. Issues the given string name within the "name" field of logging messages instead of the default hex identifier string. [ticket:1555]
* fix echo testMike Bayer2010-02-281-2/+2
|
* - orm: Removed a lot of logging that nobody really cares about,Mike Bayer2010-02-281-10/+4
| | | | | | | | | | | | 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]
* - make tuple a little more friendlyMike Bayer2010-02-281-1/+2
|
* happy new yearMike Bayer2010-01-071-1/+1
|
* - added a refresh logger step to the nose plugin so that SQLA class loggers ↵Mike Bayer2010-01-031-1/+9
| | | | | | get correct state from nose cmdline - fix mapper logging [ticket:1620]
* - setting echo=False on create_engine() now sets the loglevelMike Bayer2009-10-151-1/+1
| | | | | | | to WARN instead of NOTSET. This so that logging can be disabled for a particular engine even if logging for "sqlalchemy.engine" is enabled overall. Note that the default setting of "echo" is `None`. [ticket:1554]
* happy new yearMike Bayer2009-01-121-1/+1
|
* - logging scale-back; the echo_uow flag on Session is deprecated, and unit ↵Mike Bayer2008-08-241-35/+32
| | | | | | | | | | | | 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.
* -removed useless log statement (merge garbage?)Mike Bayer2008-05-181-2/+0
| | | | - clarified autocommit mechanism
* put a cleanup handler on the "echo" property to try preventing log garbage ↵Mike Bayer2008-05-181-4/+12
| | | | in the buildbot
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-0/+107
0.4 development continues at /sqlalchemy/branches/rel_0_4