Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-21149: Workaround a GC finalization bug in logging. (#4368) | Gregory P. Smith | 2017-11-11 | 1 | -5/+12 |
| | | | | | | | | | | | | * Work around a GC process finalization bug. The logging RLock instances may exist but the threading.RLock class itself has already been emptied causing a Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef ..." to be printed to stderr on process termination. This catches that exception and ignores it because there is absolutely nothing we can or should do about it from the context of a weakref handler called from the gc context. | ||||
* | bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses ↵ | Xiang Zhang | 2017-06-01 | 1 | -6/+21 |
| | | | | (#1904) (#1676) | ||||
* | Issue #28998: More APIs now support longs as well as ints. | Serhiy Storchaka | 2016-12-27 | 1 | -1/+1 |
| | |||||
* | Closes #25664: handled logger names in Unicode. | Vinay Sajip | 2015-12-26 | 1 | -1/+9 |
| | |||||
* | Issue21709: Call os.path.normcase when setting _srcfile for compatibility | Gregory P. Smith | 2015-10-22 | 1 | -1/+1 |
| | | | | | | | with what findCaller() does when running on non-POSIX platforms. (alternatively: the normcase calls in both places could be eliminated, but that touches more code and that refactoring hasn't even been done in 3 yet...) | ||||
* | Issue #21709: Fix the logging module to not depend upon __file__ being set | Gregory P. Smith | 2015-10-22 | 1 | -12/+6 |
| | | | | | | | | | properly to get the filename of its caller from the stack. This allows it to work if run in a frozen or embedded environment where the module's .__file__ attribute does not match its code object's .co_filename. This same much simpler always correct approach has already been deployed and used widely in Python 3.4 per the issue referenced above. | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 2 | -17/+27 |
| | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | Brought excluded code into the scope of a try block in SysLogHandler.emit(). | Vinay Sajip | 2014-11-01 | 1 | -11/+11 |
| | |||||
* | Issue #22646: Accept list as well as tuple to support initialisation via ↵ | Vinay Sajip | 2014-10-17 | 1 | -2/+2 |
| | | | | dictConfig(). | ||||
* | Issue #21742: Set stream to None after closing. | Vinay Sajip | 2014-06-14 | 1 | -0/+1 |
| | |||||
* | Issue #21608: Updated HTTPHandler documentation. | Vinay Sajip | 2014-05-30 | 1 | -1/+1 |
| | |||||
* | Issue #21172: isinstance check relaxed from dict to collections.Mapping. | Vinay Sajip | 2014-04-10 | 1 | -2/+8 |
| | |||||
* | Issue #21149: Improved thread-safety in logging cleanup during interpreter ↵ | Vinay Sajip | 2014-04-04 | 1 | -10/+12 |
| | | | | shutdown. | ||||
* | Issue #20558: Improved implementation of error handling. | Vinay Sajip | 2014-02-11 | 1 | -27/+30 |
| | |||||
* | Issue #20444: Reduced code duplication. Thanks to dongwm for the report and ↵ | Vinay Sajip | 2014-01-30 | 1 | -52/+36 |
| | | | | patch. | ||||
* | Issue #19523: Closed FileHandler leak which occurred when delay was set. | Vinay Sajip | 2013-11-15 | 1 | -1/+3 |
| | |||||
* | Close #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging | Victor Stinner | 2013-10-15 | 1 | -1/+1 |
| | | | | module. | ||||
* | Issue #18941: Respected delay when doing rollover. | Vinay Sajip | 2013-09-06 | 2 | -9/+5 |
| | |||||
* | Issue #18940: Handled low-volume logging when delay is True. | Vinay Sajip | 2013-09-06 | 1 | -2/+6 |
| | |||||
* | Issue #17981: Closed socket on error in SysLogHandler. | Vinay Sajip | 2013-05-16 | 1 | -0/+1 |
| | |||||
* | Issue #17795: Reverted backwards-incompatible change in SysLogHandler with ↵ | Vinay Sajip | 2013-04-22 | 1 | -6/+29 |
| | | | | Unix domain sockets. | ||||
* | Issue #12718: Set importer on instance if Python function, to avoid bad ↵ | Vinay Sajip | 2013-03-25 | 1 | -0/+6 |
| | | | | interaction with winpdb. | ||||
* | Issue #17521: Corrected non-enabling of logger following two calls to ↵ | Vinay Sajip | 2013-03-23 | 1 | -2/+2 |
| | | | | fileConfig(). | ||||
* | Issue #17508: Handled out-of-order handler configuration correctly. | Vinay Sajip | 2013-03-22 | 1 | -4/+24 |
| | |||||
* | Issue #9501: Improved shutdown handling to deal with module attributes ↵ | Vinay Sajip | 2013-01-15 | 1 | -1/+2 |
| | | | | correctly. | ||||
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Issue #16244: Remove file mode overrides. | Vinay Sajip | 2012-10-16 | 1 | -2/+0 |
| | |||||
* | Issue #16168: Use specified socket type for domain sockets in SysLogHandler. | Vinay Sajip | 2012-10-09 | 1 | -8/+2 |
| | |||||
* | Closes #15710: accept long in _checkLevel. | Vinay Sajip | 2012-08-29 | 1 | -1/+1 |
| | |||||
* | Issue #15541: Correct anomaly in logging.exception. Thanks to Ned Batchelder ↵ | Vinay Sajip | 2012-08-04 | 1 | -4/+6 |
| | | | | for the report. | ||||
* | Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita ↵ | Vinay Sajip | 2012-06-25 | 1 | -1/+5 |
| | | | | for the patch. | ||||
* | Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵ | Vinay Sajip | 2012-04-24 | 1 | -19/+29 |
| | | | | to John Mulligan for the problem report and patch. | ||||
* | Issue #14452: remove BOM insertion code. | Vinay Sajip | 2012-04-16 | 1 | -2/+0 |
| | |||||
* | Closes #14436: Convert msg + args to string before pickling. | Vinay Sajip | 2012-03-29 | 1 | -2/+9 |
| | |||||
* | Closes #14314: backported fix. | Vinay Sajip | 2012-03-23 | 1 | -1/+2 |
| | |||||
* | Closes #14267: Corrected computation of rollover filename. | Vinay Sajip | 2012-03-13 | 1 | -6/+15 |
| | |||||
* | Fix added for recent changes in non-threading environments. | Vinay Sajip | 2012-02-23 | 2 | -7/+28 |
| | |||||
* | Updated comments. | Vinay Sajip | 2012-02-23 | 2 | -5/+4 |
| | |||||
* | logging: Added locking in flush() and close() handler methods. Thanks to ↵ | Vinay Sajip | 2012-02-23 | 2 | -22/+29 |
| | | | | Fayaz Yusuf Khan for the suggestion. | ||||
* | Closes #13807: Now checks for sys.stderr being there before writing to it. | Vinay Sajip | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | Closes #13361: Raise correct exception type. | Vinay Sajip | 2011-11-07 | 1 | -1/+1 |
| | |||||
* | Closes #13661: Check added for type of logger name. | Vinay Sajip | 2011-11-07 | 1 | -0/+2 |
| | |||||
* | Closes #13356. Thanks to Florent Xicluna for the patch. | Vinay Sajip | 2011-11-07 | 2 | -2/+5 |
| | |||||
* | Corrected typo in comment. | Vinay Sajip | 2011-10-25 | 1 | -1/+1 |
| | |||||
* | Closes #13232: Handle multiple encodings in exception logging. | Vinay Sajip | 2011-10-24 | 1 | -2/+6 |
| | |||||
* | Issue #11444: Merge fix from 2.6. | Vinay Sajip | 2011-03-08 | 1 | -0/+3 |
|\ | |||||
| * | Issue #11444: Lock handlers while flushing/closing during shutdown. | Vinay Sajip | 2011-03-08 | 1 | -0/+3 |
| | | |||||
* | | #Issue 11424: merged fix from 2.6. | Vinay Sajip | 2011-03-07 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #11424: Fix bug in determining child loggers. | Vinay Sajip | 2011-03-07 | 1 | -5/+5 |
| | | |||||
| * | Fixed #9310: backported logging fix from 2.7. | Vinay Sajip | 2010-07-20 | 1 | -1/+4 |
| | |