Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #5287: Add exception handling around findCaller() call to help out IronPython. | Vinay Sajip | 2009-02-19 | 1 | -1/+6 |
| | |||||
* | Issue #5170: Fixed Unicode output bug in logging and added test case. This ↵ | Vinay Sajip | 2009-02-08 | 1 | -5/+7 |
| | | | | is a regression which did not occur in 2.5. | ||||
* | Issue 5013: Fixed bug in FileHandler when delay was set - added fix for ↵ | Vinay Sajip | 2009-01-20 | 2 | -12/+9 |
| | | | | RotatingFileHandler and changed header comment slightly. | ||||
* | Issue 5013: Fixed bug in FileHandler when delay was set. | Vinay Sajip | 2009-01-20 | 1 | -9/+9 |
| | |||||
* | issue 4301: patch logging to add processName, remove the old ↵ | Jesse Noller | 2009-01-18 | 1 | -0/+10 |
| | | | | _check_logger_class code | ||||
* | Issue 4336: Let users of HTTPConnection.endheaders() submit a message body ↵ | Kristján Valur Jónsson | 2009-01-09 | 1 | -3/+1 |
| | | | | to the function if required. | ||||
* | remove has_key usage | Benjamin Peterson | 2008-12-14 | 1 | -1/+1 |
| | |||||
* | Took Nick Coghlan's advice about importing warnings globally in logging, to ↵ | Vinay Sajip | 2008-12-04 | 1 | -3/+1 |
| | | | | avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time." | ||||
* | Issue #4384: Added logging integration with warnings module using ↵ | Vinay Sajip | 2008-12-03 | 1 | -2/+57 |
| | | | | captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging. | ||||
* | Issue #3772: Fixed regression problem in StreamHandler.emit(). | Vinay Sajip | 2008-09-04 | 1 | -1/+1 |
| | |||||
* | Issue #3726: Allowed spaces in separators in logging configuration files. | Vinay Sajip | 2008-09-03 | 1 | -5/+11 |
| | |||||
* | logging: fixed lack of use of encoding attribute specified on a stream. | Vinay Sajip | 2008-09-01 | 1 | -5/+10 |
| | |||||
* | change a few uses of the threading APIs | Benjamin Peterson | 2008-08-18 | 1 | -1/+1 |
| | |||||
* | Remove dict.has_key() and apply() usage from the logging package to silence | Brett Cannon | 2008-08-04 | 2 | -17/+17 |
| | | | | warnings when run under -3. | ||||
* | Issue #3389: Allow resolving dotted names for handlers in logging ↵ | Vinay Sajip | 2008-07-18 | 1 | -1/+4 |
| | | | | configuration files. Thanks to Philip Jenvey for the patch. | ||||
* | Removed out-of-date comment in _install_handlers and | Vinay Sajip | 2008-06-29 | 1 | -2/+1 |
| | | | | used issubclass in place of equality comparison of classes. | ||||
* | Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an ↵ | Vinay Sajip | 2008-06-19 | 1 | -4/+4 |
| | | | | | | optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved. Thanks to Leandro Lucarella for the patch. | ||||
* | Bug #3126: StreamHandler and FileHandler check before calling "flush" and ↵ | Vinay Sajip | 2008-06-17 | 1 | -2/+3 |
| | | | | "close" that the stream object has these, using hasattr (thanks to bobf for the patch). | ||||
* | give the threading API PEP 8 names | Benjamin Peterson | 2008-06-11 | 1 | -1/+1 |
| | |||||
* | ConfigParser renaming reversal part 3: move module into place and adapt imports. | Georg Brandl | 2008-05-25 | 1 | -2/+2 |
| | |||||
* | socketserver renaming reversal part 3: move the module into the right | Georg Brandl | 2008-05-24 | 1 | -1/+1 |
| | | | | place and fix all references to it. Closes #2926. | ||||
* | Fixed: #2914 (RFE for UTC support in TimedRotatingFileHandler) and #2929 ↵ | Vinay Sajip | 2008-05-20 | 1 | -12/+20 |
| | | | | (wrong filename used to delete old log files). | ||||
* | Updated import statements to use the new `configparser` module name. | Alexandre Vassalotti | 2008-05-14 | 1 | -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 Vassalotti | 2008-05-12 | 1 | -1/+1 |
| | | | | | Renamed socketserver module in its own documentation. Renamed documentation references. | ||||
* | Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better ↵ | Vinay Sajip | 2008-04-02 | 1 | -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 imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Add __all__ to logging module. | Raymond Hettinger | 2008-02-16 | 1 | -0/+5 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -11/+14 |
| | |||||
* | Added optional delay argument to FileHandler and subclasses. | Vinay Sajip | 2008-01-24 | 1 | -5/+20 |
| | |||||
* | Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. ↵ | Vinay Sajip | 2008-01-21 | 1 | -2/+5 |
| | | | | Patch thanks to Kathryn M. Kowalski. | ||||
* | Added LoggerAdapter class, changed copyright dates, made check for extra ↵ | Vinay Sajip | 2008-01-18 | 1 | -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 Sajip | 2007-11-11 | 1 | -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 Sajip | 2007-10-24 | 1 | -5/+5 |
| | |||||
* | Change to LogRecord.__init__() to fix #1206. Note that archaic use of ↵ | Vinay Sajip | 2007-09-27 | 1 | -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 Sajip | 2007-09-27 | 1 | -2/+2 |
| | |||||
* | Change to basicConfig() to fix #1021. | Vinay Sajip | 2007-09-27 | 1 | -1/+1 |
| | |||||
* | Change to flush and close logic to fix #1760556. | Vinay Sajip | 2007-09-27 | 1 | -4/+7 |
| | |||||
* | Patch #1779550: remove redundant code in logging. | Georg Brandl | 2007-08-23 | 1 | -15/+3 |
| | |||||
* | Bug #1737864: allow empty message in logging format routines. | Georg Brandl | 2007-06-19 | 1 | -2/+2 |
| | |||||
* | Updated docstring for SysLogHandler (#1720726). | Vinay Sajip | 2007-05-25 | 1 | -1/+2 |
| | |||||
* | Added new optional credentials argument to SMTPHandler.__init__, and ↵ | Vinay Sajip | 2007-05-01 | 1 | -7/+12 |
| | | | | smtp.login() is now called in SMTPHandler.emit() if credentials are specified. | ||||
* | Added optional timeout to SocketHandler.makeSocket (SF #1695948) | Vinay Sajip | 2007-04-09 | 1 | -1/+3 |
| | |||||
* | 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) |