summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
Commit message (Collapse)AuthorAgeFilesLines
* logging: Added LOG_FTP for SysLogHandler and updated documentation.Vinay Sajip2010-03-241-1/+3
|
* Issue #8117: logging: Improved algorithm for computing initial rollover time.Vinay Sajip2010-03-121-2/+6
|
* logging: Removed some more 1.5.2 support code.Vinay Sajip2010-02-071-24/+3
|
* logging: Improved support for SMTP over TLS.Vinay Sajip2009-12-061-5/+8
|
* logging: Added optional 'secure' parameter to SMTPHandler.Vinay Sajip2009-12-061-2/+10
|
* Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424.Vinay Sajip2009-10-211-0/+10
|
* Issue #7086: Added TCP support to SysLogHandler and tidied up some ↵Vinay Sajip2009-10-101-22/+27
| | | | anachronisms in the code.
* Issue #5262: Improved fix.Vinay Sajip2009-06-111-11/+11
|
* Issue #5262: Fixed bug in next roll over time computation in ↵Vinay Sajip2009-06-111-5/+10
| | | | TimedRotatingFileHandler.
* Issue 5013: Fixed bug in FileHandler when delay was set - added fix for ↵Vinay Sajip2009-01-201-9/+9
| | | | RotatingFileHandler and changed header comment slightly.
* Issue 4336: Let users of HTTPConnection.endheaders() submit a message body ↵Kristján Valur Jónsson2009-01-091-3/+1
| | | | to the function if required.
* Fixed: #2914 (RFE for UTC support in TimedRotatingFileHandler) and #2929 ↵Vinay Sajip2008-05-201-12/+20
| | | | (wrong filename used to delete old log files).
* Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better ↵Vinay Sajip2008-04-021-10/+62
| | | | handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-11/+14
|
* Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. ↵Vinay Sajip2008-01-211-2/+5
| | | | Patch thanks to Kathryn M. Kowalski.
* Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()Vinay Sajip2007-10-241-5/+5
|
* Updated docstring for SysLogHandler (#1720726).Vinay Sajip2007-05-251-1/+2
|
* Added new optional credentials argument to SMTPHandler.__init__, and ↵Vinay Sajip2007-05-011-7/+12
| | | | smtp.login() is now called in SMTPHandler.emit() if credentials are specified.
* Added optional timeout to SocketHandler.makeSocket (SF #1695948)Vinay Sajip2007-04-091-1/+3
|
* Use new email module names (#1637162, #1637159, #1637157).Georg Brandl2007-01-221-1/+1
|
* Updated rotating file handlers to use _open().Vinay Sajip2007-01-161-10/+6
|
* Added WatchedFileHandler (based on SF patch #1598415)Vinay Sajip2007-01-141-0/+49
|
* Bare except clause removed from SMTPHandler.emit(). Now, only ImportError is ↵Vinay Sajip2007-01-081-2/+2
| | | | | | | trapped. Bare except clause removed from SocketHandler.createSocket(). Now, only socket.error is trapped. (SF #411881)
* Patch by Jeremy Katz (SF #1609407)Vinay Sajip2006-12-111-2/+2
|
* Addressed SF#1524081 by using a dictionary to map level names to syslog ↵Vinay Sajip2006-07-201-3/+25
| | | | priority names, rather than a string.lower().
* Removed buggy exception handling in doRollover of rotating file handlers. ↵Vinay Sajip2006-06-271-12/+2
| | | | Exceptions now propagate to caller.
* Replaced my dumb way of calculating seconds to midnight with Tim Peters' ↵Vinay Sajip2006-05-021-6/+4
| | | | much more sensible suggestion. What was I thinking ?!?
* Exceptions raised during renaming in rotating file handlers are now passed ↵Vinay Sajip2006-01-161-2/+2
| | | | to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
* 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/+6
| | | | passing to handleError
* Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵Vinay Sajip2005-10-311-0/+6
| | | | passing to handleError
* Added Host and Content-type headers to requests sent by HTTPHandler ↵Vinay Sajip2005-10-111-1/+10
| | | | (suggested by Steven Vereecken)
* Added optional encoding argument to file handlers.Vinay Sajip2005-03-131-11/+25
|
* Improved SysLogHandler error recovery (patch by Erik Forsberg)Vinay Sajip2005-01-131-9/+16
|
* Changes made to maintain 1.5.2 compatibility.Vinay Sajip2004-10-031-6/+27
|
* 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
|
* 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
|
* Whitespace normalization.Tim Peters2004-07-071-5/+5
|
* Refactored RotatingFileHandler to create a base class for rotating ↵Vinay Sajip2004-07-031-11/+167
| | | | handlers. Added TimedRotatingFileHandler.
* Removed spurious import statementVinay Sajip2004-03-081-2/+0
|
* Minor documentation changesVinay Sajip2004-02-281-2/+3
|
* Added close() (which flushes) to BufferingHandler and tidied ↵Vinay Sajip2004-02-211-2/+10
| | | | MemoryHandler.close() [SF #901330]
* 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.
* SF bug #835457: Small typo in logging documentationRaymond Hettinger2003-11-081-1/+1
|