summaryrefslogtreecommitdiffstats
path: root/Lib/logging
Commit message (Collapse)AuthorAgeFilesLines
* Bug #3126: StreamHandler and FileHandler check before calling "flush" and ↵Vinay Sajip2008-06-171-2/+3
| | | | "close" that the stream object has these, using hasattr (thanks to bobf for the patch).
* give the threading API PEP 8 namesBenjamin Peterson2008-06-111-1/+1
|
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-251-2/+2
|
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-1/+1
| | | | place and fix all references to it. Closes #2926.
* Fixed: #2914 (RFE for UTC support in TimedRotatingFileHandler) and #2929 ↵Vinay Sajip2008-05-201-12/+20
| | | | (wrong filename used to delete old log files).
* Updated import statements to use the new `configparser` module name.Alexandre Vassalotti2008-05-141-2/+2
| | | | | | | | Updated the documentation to use the new name. Revert addition of the stub entry for the old name. Georg, I am reverting your changes since this commit should propagate to py3k.
* Updated all import statements to use the new socketserver module name.Alexandre Vassalotti2008-05-121-1/+1
| | | | | Renamed socketserver module in its own documentation. Renamed documentation references.
* 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
|
* Add __all__ to logging module.Raymond Hettinger2008-02-161-0/+5
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-11/+14
|
* Added optional delay argument to FileHandler and subclasses.Vinay Sajip2008-01-241-5/+20
|
* Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. ↵Vinay Sajip2008-01-211-2/+5
| | | | Patch thanks to Kathryn M. Kowalski.
* Added LoggerAdapter class, changed copyright dates, made check for extra ↵Vinay Sajip2008-01-181-5/+95
| | | | parameter passed to logging methods explicitly against None rather than a truth value.
* Fixed a bug reported (in private email, by Robert Crida) in logging ↵Vinay Sajip2007-11-111-3/+27
| | | | configuration whereby child loggers of a logger named in a configuration file, which are not themselves named in the configuration, are disabled when the configuration is applied.
* Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()Vinay Sajip2007-10-241-5/+5
|
* Change to LogRecord.__init__() to fix #1206. Note that archaic use of ↵Vinay Sajip2007-09-271-1/+3
| | | | type(x) == types.DictType is because of keeping 1.5.2 compatibility. While this is much less relevant these days, there probably needs to be a separate commit for removing all archaic constructs at the same time.
* Minor date change.Vinay Sajip2007-09-271-2/+2
|
* Change to basicConfig() to fix #1021.Vinay Sajip2007-09-271-1/+1
|
* Change to flush and close logic to fix #1760556.Vinay Sajip2007-09-271-4/+7
|
* Patch #1779550: remove redundant code in logging.Georg Brandl2007-08-231-15/+3
|
* Bug #1737864: allow empty message in logging format routines.Georg Brandl2007-06-191-2/+2
|
* 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
|
* Minor fix for currentframe (SF #1652788).Vinay Sajip2007-02-161-5/+5
|
* 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
|
* Added a docstringVinay Sajip2007-01-091-0/+4
|
* Bug #1627575: Added _open() method to FileHandler which can be used to ↵Vinay Sajip2007-01-091-9/+14
| | | | reopen files. The FileHandler instance now saves the encoding (which can be None) in an attribute called "encoding".
* Bare except clause removed from LogRecord.__init__. Now, only ValueError, ↵Vinay Sajip2007-01-081-3/+3
| | | | | | TypeError and AttributeError are trapped. (SF #411881)
* 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 "cuppatea" (SF #1503765)Vinay Sajip2006-12-111-4/+5
|
* Patch by Jeremy Katz (SF #1609407)Vinay Sajip2006-12-111-2/+2
|
* Change to improve speed of _fixupChildrenVinay Sajip2006-10-311-2/+5
|
* Modified LogRecord.__init__ to make the func parameter optional. (See SF ↵Vinay Sajip2006-10-031-1/+1
| | | | #1569622).
* Fix missing import of the types module in logging.config.Georg Brandl2006-09-061-1/+1
|
* Repair logging test spew caused by rev. 51206.Georg Brandl2006-08-121-1/+1
|
* logging's atexit hook now runs even if the rest of the module hasGeorg Brandl2006-08-111-2/+2
| | | | already been cleaned up.
* 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().
* Fixed bug in fileConfig() which failed to clear logging._handlerListVinay Sajip2006-06-301-0/+1
|
* Removed buggy exception handling in doRollover of rotating file handlers. ↵Vinay Sajip2006-06-271-12/+2
| | | | Exceptions now propagate to caller.
* Changed status from "beta" to "production"; since logging has been part of ↵Vinay Sajip2006-05-181-1/+1
| | | | the stdlib since 2.3, it should be safe to make this assertion ;-)
* 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 ?!?
* StreamHandler now checks explicitly for None before using sys.stderr as the ↵Vinay Sajip2006-04-111-1/+1
| | | | stream (see SF bug #1463840).
* Catch situations where currentframe() returns None. See SF patch #1447410, ↵Vinay Sajip2006-03-151-2/+5
| | | | this is a different implementation.
* Added logThreads and logProcesses to allow conditional omission of logging ↵Vinay Sajip2006-03-131-2/+12
| | | | this information
* Added function name to LogRecord.Vinay Sajip2006-02-091-5/+8
|
* Propagate exceptions from shutdown() if raiseExceptions is not set.Vinay Sajip2006-02-091-6/+14
| | | | Added 'extra' keyword argument handling to logging calls, as discussed on python-dev.