summaryrefslogtreecommitdiffstats
path: root/Lib/logging
Commit message (Collapse)AuthorAgeFilesLines
* Revert the following revisions, as they don't fix securityMartin v. Löwis2008-03-023-22/+19
| | | | | | | 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
* Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()Vinay Sajip2007-10-241-5/+5
|
* Updated documentation for SysLogHandler (#1720726).Vinay Sajip2007-05-251-3/+4
|
* Minor fix for currentframe (SF #1652788).Vinay Sajip2007-02-171-3/+3
|
* Fixed bug in fileConfig where _handlerList was not being cleared. (SF #1632328)Vinay Sajip2007-01-111-0/+1
|
* Backported change in shutdown(); now takes an optional handler-list argument.Vinay Sajip2007-01-111-2/+2
|
* Patch by "cuppatea" (SF #1503765)Vinay Sajip2006-12-111-4/+5
|
* Patch by Jeremy Katz (SF #1609407)Vinay Sajip2006-12-111-2/+2
|
* Fix missing import of the types module in logging.config.Georg Brandl2006-09-061-1/+1
| | | | (backport from rev. 51785)
* Removed buggy exception handling in doRollover of rotating file handlers. ↵Vinay Sajip2006-06-271-18/+6
| | | | Exceptions now propagate to caller.
* 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.
* Exceptions raised during renaming in rotating file handlers are now passed ↵Vinay Sajip2006-01-161-2/+12
| | | | to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
* TimedRotatingFileHandler now calculates next rollover from previous rollover ↵Vinay Sajip2006-01-161-1/+1
| | | | rather than current time.
* Fixed bug in time-to-midnight calculation.Vinay Sajip2006-01-161-3/+6
|
* Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for ↵Vinay Sajip2005-11-091-1/+1
| | | | reporting it/supplying a patch)
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-311-0/+12
| | | | passing to handleError
* 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).
* Added Host and Content-type headers to requests sent by HTTPHandler ↵Vinay Sajip2005-10-111-1/+10
| | | | (suggested by Steven Vereecken)
* 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-162-6/+15
|
* Added optional encoding argument to File based handlers and improved error ↵Vinay Sajip2005-03-311-20/+41
| | | | handling for SysLogHandler
* Minor changes to importsVinay Sajip2005-03-311-3/+8
|
* 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
|
* Changes made to maintain 1.5.2 compatibility.Vinay Sajip2004-10-031-6/+27
|
* Version number updated to 0.4.9.5Vinay Sajip2004-10-031-2/+2
|
* Added log() functionVinay Sajip2004-09-241-0/+8
|
* Added exception handling during handler initialization in fileConfig()Vinay Sajip2004-09-241-24/+27
|
* Added getLoggerClass()Vinay Sajip2004-09-221-12/+15
|
* Fixed bug in DatagramHandler.send()Vinay Sajip2004-08-241-0/+2
|
* Patch #791776: Replace SMTPHandler.date_time with email.Utils.formatdate.Martin v. Löwis2004-08-181-16/+2
|
* 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
|
* Removed debugging print statements from TimedRotatingFileHandler, and sorted ↵Vinay Sajip2004-07-121-3/+4
| | | | list returned by glob.glob() (SF #987166)
* Add exception handling for BaseRotatingFileHandler (SF #979252)Vinay Sajip2004-07-081-3/+6
|
* FileHandler now stores the basename as an absolute path (fix for SF #982049)Vinay Sajip2004-07-081-2/+4
|
* Whitespace normalization.Tim Peters2004-07-072-6/+6
|
* Refactored RotatingFileHandler to create a base class for rotating ↵Vinay Sajip2004-07-031-11/+167
| | | | handlers. Added TimedRotatingFileHandler.
* 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.
* Removed spurious import statementVinay Sajip2004-03-081-2/+0
|
* Minor documentation changesVinay Sajip2004-02-283-9/+11
|
* Added close() (which flushes) to BufferingHandler and tidied ↵Vinay Sajip2004-02-211-2/+10
| | | | MemoryHandler.close() [SF #901330]
* 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.
* Copyright year change.Vinay Sajip2004-02-201-17/+67
| | | | | | | Corrections to comments. Tracebacks can now be sent via SocketHandler. SocketHandler now uses exponential backoff strategy. Handlers now chain to Handler.close() from their close() methods.