summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Reverted back to r67866.Vinay Sajip2010-01-281-4/+4
|
* Issue #7403: logging: Fixed possible race condition in lock creation.Vinay Sajip2009-11-271-4/+4
|
* Revert the following revisions, as they don't fix securityMartin v. Löwis2008-03-021-5/+5
| | | | | | | problems: 52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001, 53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580, 55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
* Minor fix for currentframe (SF #1652788).Vinay Sajip2007-02-171-3/+3
|
* Backported change in shutdown(); now takes an optional handler-list argument.Vinay Sajip2007-01-111-2/+2
|
* StreamHandler now checks explicitly for None before using sys.stderr as the ↵Vinay Sajip2006-04-121-1/+1
| | | | stream (see SF bug #1463840).
* Catch situations where currentframe() returns None. See SF patch #1447410, ↵Vinay Sajip2006-03-201-4/+9
| | | | this is a different implementation.
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-311-0/+2
| | | | passing to handleError
* One-off "No handlers..." error message only raised if raiseExceptions is set.Vinay Sajip2005-10-231-1/+1
|
* Don't use a string exception since it's deprecatedNeal Norwitz2005-10-211-1/+1
|
* Optimised Placeholders handling of child loggers by using a dict rather than ↵Vinay Sajip2005-10-141-4/+8
| | | | a list (much slower in the pathological case of hundreds of child Loggers to a Placeholder - problem reported by Ryan Blazecka).
* Fixed bug where the logging message was wrongly being demoted from Unicode ↵Vinay Sajip2005-10-071-6/+8
| | | | to string (SF #1314107)
* Misc. backported changesVinay Sajip2005-09-161-3/+12
|
* Misc. changesVinay Sajip2005-03-311-18/+42
|
* Fixed bug in handling of args in LogRecord.__init__.Vinay Sajip2004-10-211-1/+1
|
* Changed handling of args in LogRecord.__init__.Vinay Sajip2004-10-201-2/+17
|
* Version number updated to 0.4.9.5Vinay Sajip2004-10-031-2/+2
|
* Added log() functionVinay Sajip2004-09-241-0/+8
|
* Added getLoggerClass()Vinay Sajip2004-09-221-12/+15
|
* Updated Logger.log() docstring to clarify that lvl parameter should be an ↵Vinay Sajip2004-08-041-1/+1
| | | | integer.
* Ignore exceptions which occur when closing files in shutdown()Vinay Sajip2004-07-291-2/+7
|
* FileHandler now stores the basename as an absolute path (fix for SF #982049)Vinay Sajip2004-07-081-2/+4
|
* Whitespace normalization.Tim Peters2004-07-071-1/+1
|
* Changed basicConfig() to add keyword arguments. Changes are backward-compatible.Vinay Sajip2004-07-031-10/+56
| | | | | Added error checking to log() to check that level is an integer, and raise a TypeError if not (as long as raiseExceptions is set). Minor documentation corrections.
* Minor documentation changesVinay Sajip2004-02-281-4/+4
|
* Handler close() functions call flush() [SF #901330]Vinay Sajip2004-02-211-3/+4
|
* Copyright year & version number/version date changes.Vinay Sajip2004-02-201-8/+36
| | | | | | | | Exception traceback text is now cached. Closing a handler now removes it from the internal _handlers list. Handlers now chain to Handler.close() from their close() methods. Exception info can be passed as a tuple in exc_info. shutdown() is registered to be called at application exit.
* SF patch #761519: Fixes for bugs 760703 and 757821Raymond Hettinger2003-06-271-2/+13
| | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
* Fix SF bug #723801, logging.setLoggerClass() doesn't support new-style classesNeal Norwitz2003-04-231-2/+0
|
* SF patch #725904, Minor changes to logging from module author (Vinay Sajip)Neal Norwitz2003-04-231-9/+2
| | | | - upgrade to version 0.4.8
* Undo the apply() removals; this code needs to run under Python 1.5.2.Guido van Rossum2003-03-021-13/+13
|
* Get rid of many apply() calls.Guido van Rossum2003-02-271-13/+13
|
* getpid doesn't exist on MacOS9.Jack Jansen2003-02-211-1/+4
|
* SF patch #687683, Patches to logging (updates from Vinay)Neal Norwitz2003-02-181-28/+58
| | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
* Use lightweight introspection instead of the inspect module hammer.Jeremy Hylton2003-01-231-24/+18
| | | | | | | Removing locking are findCaller() calls as the implementation using sys._getframe() is thread-safe. Changes reviewed by Vinay.
* SF Patch #638825 logging moduleNeal Norwitz2002-11-151-3/+3
| | | | Fix pychecker warnings, remove unused imports and rename root
* Get rid of #! lines, references to usage as __main__, README.txt, andGuido van Rossum2002-11-131-20/+4
| | | | http://www.red-dove.com/python_logging.html.
* Adding Vinay Sajip's logging package.Guido van Rossum2002-11-131-0/+1183