summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/logging.py
Commit message (Collapse)AuthorAgeFilesLines
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-113/+0
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - default the root logger level only if unsetJason Kirtland2008-01-161-1/+2
|
* - Warnings are now issued as SAWarning instead of RuntimeWarning; ↵Jason Kirtland2008-01-111-26/+36
| | | | | | util.warn() wraps this up. - SADeprecationWarning has moved to exceptions. An alias remains in logging until 0.5.
* redid the _for_ddl String/Text deprecation warning correctly [ticket:912]Mike Bayer2008-01-091-1/+1
|
* happy new yearMike Bayer2008-01-011-1/+1
|
* Removed a tab.Jason Kirtland2007-10-131-1/+0
|
* - ugh ! beta4 is double logging....fixed that....Mike Bayer2007-08-221-1/+2
| | | | - added test/fixed eager aliasizing for self-referential m2m relations
* - tightened down the screws on logging a little bitMike Bayer2007-08-221-2/+7
|
* - restored engine.echo flagMike Bayer2007-08-221-0/+19
| | | | - changelog
* -removed echo_property() function, moved logging checks toMike Bayer2007-08-211-27/+11
| | | | static variables
* dont commandeer warnings into loggerMike Bayer2007-08-171-3/+0
|
* re-jiggered (yes, thats a technical term) DeprecationWarning into ↵Mike Bayer2007-07-311-0/+4
| | | | SADeprecationWarning so that we can set the "once" filter across all SQLAlchemy-originating DeprecationWarnings.
* log-ify warnings module. get rid of one-per-customer deprecationwarning limit.Jonathan Ellis2007-07-301-3/+6
|
* document the 'echo' propertyMike Bayer2007-04-291-3/+10
|
* - added 'url' attribute to EngineMike Bayer2007-04-291-0/+6
| | | | - added docstring to 'echo' attribute
* - merged the "execcontext" branch, refactors engine/dialect codepathsMike Bayer2007-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | - much more functionality moved into ExecutionContext, which impacted the API used by dialects to some degree - ResultProxy and subclasses now designed sanely - merged patch for #522, Unicode subclasses String directly, MSNVarchar implements for MS-SQL, removed MSUnicode. - String moves its "VARCHAR"/"TEXT" switchy thing into "get_search_list()" function, which VARCHAR and CHAR can override to not return TEXT in any case (didnt do the latter yet) - implements server side cursors for postgres, unit tests, #514 - includes overhaul of dbapi import strategy #480, all dbapi importing happens in dialect method "dbapi()", is only called inside of create_engine() for default and threadlocal strategies. Dialect subclasses have a datamember "dbapi" referencing the loaded module which may be None. - added "mock" engine strategy, doesnt require DBAPI module and gives you a "Connecition" which just sends all executes to a callable. can be used to create string output of create_all()/drop_all().
* thank you, SVN, for being completely idiotic and non-intutive. rolling back ↵Mike Bayer2007-03-301-2/+2
| | | | incorrect checkin to trunk
* current progress with exec branchMike Bayer2007-03-291-2/+2
|
* migrated (most) docstrings to pep-257 format, docstring generator using ↵Mike Bayer2007-02-251-16/+17
| | | | | | straight <pre> + trim() func for now. applies most of [ticket:214], compliemnts of Lele Gaifax
* copyright updateMike Bayer2007-01-051-1/+1
|
* set global 'sqlalchemy' log level to ERROR so it is insulated from other ↵Mike Bayer2006-10-231-1/+3
| | | | logging configs [ticket:353]
* reorganizing classnames a bit, flagging "private" classes in the sql package,Mike Bayer2006-10-171-1/+1
| | | | | getting the generated docs to look a little nicer. fixes to extensions, sqlsoup etc. to be compatible with recent API tweaks
* some logging tweaks....its a little squirrelyMike Bayer2006-10-121-4/+6
|
* - merged loader_strategies branch into trunk.Mike Bayer2006-10-031-2/+3
| | | | | | | | | | | - this is a wide refactoring to "attribute loader" and "options" architectures. ColumnProperty and PropertyLoader define their loading behaivor via switchable "strategies", and MapperOptions no longer use mapper/property copying in order to function; they are instead propigated via QueryContext and SelectionContext objects at query/instnaces time. All of the copying of mappers and properties that was used to handle inheritance as well as options() has been removed and the structure of mappers and properties is much simpler and more clearly laid out.
* - added profiling to massaveMike Bayer2006-10-011-2/+4
| | | | | - adjusted the formatting for per-instance loggers to limit the number of loggers that get created in memory.
* - logging is now implemented via standard python "logging" module.Mike Bayer2006-09-241-0/+69
"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]