Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor fix for currentframe (SF #1652788). | Vinay Sajip | 2007-02-16 | 1 | -5/+5 |
| | |||||
* | Use new email module names (#1637162, #1637159, #1637157). | Georg Brandl | 2007-01-22 | 1 | -1/+1 |
| | |||||
* | Updated rotating file handlers to use _open(). | Vinay Sajip | 2007-01-16 | 1 | -10/+6 |
| | |||||
* | Added WatchedFileHandler (based on SF patch #1598415) | Vinay Sajip | 2007-01-14 | 1 | -0/+49 |
| | |||||
* | Added a docstring | Vinay Sajip | 2007-01-09 | 1 | -0/+4 |
| | |||||
* | Bug #1627575: Added _open() method to FileHandler which can be used to ↵ | Vinay Sajip | 2007-01-09 | 1 | -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 Sajip | 2007-01-08 | 1 | -3/+3 |
| | | | | | | TypeError and AttributeError are trapped. (SF #411881) | ||||
* | Bare except clause removed from SMTPHandler.emit(). Now, only ImportError is ↵ | Vinay Sajip | 2007-01-08 | 1 | -2/+2 |
| | | | | | | | trapped. Bare except clause removed from SocketHandler.createSocket(). Now, only socket.error is trapped. (SF #411881) | ||||
* | Patch by "cuppatea" (SF #1503765) | Vinay Sajip | 2006-12-11 | 1 | -4/+5 |
| | |||||
* | Patch by Jeremy Katz (SF #1609407) | Vinay Sajip | 2006-12-11 | 1 | -2/+2 |
| | |||||
* | Change to improve speed of _fixupChildren | Vinay Sajip | 2006-10-31 | 1 | -2/+5 |
| | |||||
* | Modified LogRecord.__init__ to make the func parameter optional. (See SF ↵ | Vinay Sajip | 2006-10-03 | 1 | -1/+1 |
| | | | | #1569622). | ||||
* | Fix missing import of the types module in logging.config. | Georg Brandl | 2006-09-06 | 1 | -1/+1 |
| | |||||
* | Repair logging test spew caused by rev. 51206. | Georg Brandl | 2006-08-12 | 1 | -1/+1 |
| | |||||
* | logging's atexit hook now runs even if the rest of the module has | Georg Brandl | 2006-08-11 | 1 | -2/+2 |
| | | | | already been cleaned up. | ||||
* | Addressed SF#1524081 by using a dictionary to map level names to syslog ↵ | Vinay Sajip | 2006-07-20 | 1 | -3/+25 |
| | | | | priority names, rather than a string.lower(). | ||||
* | Fixed bug in fileConfig() which failed to clear logging._handlerList | Vinay Sajip | 2006-06-30 | 1 | -0/+1 |
| | |||||
* | Removed buggy exception handling in doRollover of rotating file handlers. ↵ | Vinay Sajip | 2006-06-27 | 1 | -12/+2 |
| | | | | Exceptions now propagate to caller. | ||||
* | Changed status from "beta" to "production"; since logging has been part of ↵ | Vinay Sajip | 2006-05-18 | 1 | -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 Sajip | 2006-05-02 | 1 | -6/+4 |
| | | | | much more sensible suggestion. What was I thinking ?!? | ||||
* | StreamHandler now checks explicitly for None before using sys.stderr as the ↵ | Vinay Sajip | 2006-04-11 | 1 | -1/+1 |
| | | | | stream (see SF bug #1463840). | ||||
* | Catch situations where currentframe() returns None. See SF patch #1447410, ↵ | Vinay Sajip | 2006-03-15 | 1 | -2/+5 |
| | | | | this is a different implementation. | ||||
* | Added logThreads and logProcesses to allow conditional omission of logging ↵ | Vinay Sajip | 2006-03-13 | 1 | -2/+12 |
| | | | | this information | ||||
* | Added function name to LogRecord. | Vinay Sajip | 2006-02-09 | 1 | -5/+8 |
| | |||||
* | Propagate exceptions from shutdown() if raiseExceptions is not set. | Vinay Sajip | 2006-02-09 | 1 | -6/+14 |
| | | | | Added 'extra' keyword argument handling to logging calls, as discussed on python-dev. | ||||
* | Removed defensive test in Handler.close | Vinay Sajip | 2006-02-07 | 1 | -4/+3 |
| | |||||
* | Get test_logging to not hang when running under regrtest.py -R :: | Neal Norwitz | 2006-02-05 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Not sure why/how _handlers/_handlerList is out of sync. This could indicate a deeper problem. In test_logging, the only absolutely necessary change to get working was tcpserver.abort = 1. But we don't want to wait infinitely to join the threads, so give a 2.0 second timeout. There doesn't appear to be a need for a local abort variable in serve_until_stopped, so just use the instance member. Note the problem is only on HEAD, not in 2.4. | ||||
* | Added the ability to specify a class attribute in Formatter configuration. ↵ | Vinay Sajip | 2006-01-20 | 1 | -1/+21 |
| | | | | Contributed by Shane Hathaway. | ||||
* | Refactoring for fileConfig. Contributed by Shane Hathaway. | Vinay Sajip | 2006-01-16 | 1 | -125/+142 |
| | |||||
* | Exceptions raised during renaming in rotating file handlers are now passed ↵ | Vinay Sajip | 2006-01-16 | 1 | -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 Sajip | 2006-01-16 | 1 | -2/+12 |
| | | | | to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). | ||||
* | TimedRotatingFileHandler now calculates next rollover from previous rollover ↵ | Vinay Sajip | 2006-01-16 | 1 | -1/+1 |
| | | | | rather than current time. | ||||
* | Fixed bug in time-to-midnight calculation. | Vinay Sajip | 2006-01-16 | 1 | -3/+6 |
| | |||||
* | Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for ↵ | Vinay Sajip | 2005-11-09 | 1 | -1/+1 |
| | | | | reporting it/supplying a patch) | ||||
* | Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵ | Vinay Sajip | 2005-10-31 | 1 | -0/+6 |
| | | | | passing to handleError | ||||
* | Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵ | Vinay Sajip | 2005-10-31 | 2 | -0/+8 |
| | | | | passing to handleError | ||||
* | One-off "No handlers..." error message only raised if raiseExceptions is set. | Vinay Sajip | 2005-10-23 | 1 | -1/+1 |
| | |||||
* | Don't use a string exception since it's deprecated | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Optimised Placeholders handling of child loggers by using a dict rather than ↵ | Vinay Sajip | 2005-10-14 | 1 | -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 Sajip | 2005-10-11 | 1 | -1/+10 |
| | | | | (suggested by Steven Vereecken) | ||||
* | Fixed bug where the logging message was wrongly being demoted from Unicode ↵ | Vinay Sajip | 2005-10-07 | 1 | -6/+8 |
| | | | | to string (SF #1314107) | ||||
* | Added lock acquisition around handler removal from logger | Vinay Sajip | 2005-09-16 | 1 | -1/+5 |
| | |||||
* | Added _handlerList to allow shutdown to flush and close handlers in reverse ↵ | Vinay Sajip | 2005-09-08 | 1 | -1/+4 |
| | | | | order of creation (see SF# 1282539) | ||||
* | Changed _srcfile determination to support py2exe. | Vinay Sajip | 2005-09-02 | 1 | -1/+3 |
| | |||||
* | Documentation clarified re. config socket listener protocol | Vinay Sajip | 2005-06-05 | 1 | -3/+3 |
| | |||||
* | Added threadName and now using re-entrant lock | Vinay Sajip | 2005-03-31 | 1 | -2/+5 |
| | |||||
* | Made traceback unconditional, to avoid lock contention problems when logging ↵ | Vinay Sajip | 2005-03-13 | 1 | -3/+2 |
| | | | | errors occur in a custom importer (SF path #1158052). | ||||
* | Added optional encoding argument to file handlers. | Vinay Sajip | 2005-03-13 | 1 | -11/+25 |
| | |||||
* | Added optional encoding argument to file handlers. Made traceback import ↵ | Vinay Sajip | 2005-03-13 | 1 | -9/+19 |
| | | | | unconditional, to avoid lock contention problems which occur when logging from custom importers (SF patch #1158052) | ||||
* | Handle errors in imports of thread, threading | Vinay Sajip | 2005-02-18 | 1 | -1/+7 |
| |