240 Commits

Author SHA1 Message Date
Vinay Sajip
68b4cc87cd Issue #17521: Corrected non-enabling of logger following two calls to fileConfig(). 2013-03-23 11:18:45 +00:00
Vinay Sajip
3f885b5432 Issue #17508: Handled out-of-order handler configuration correctly. 2013-03-22 15:19:54 +00:00
Vinay Sajip
5e1c3ce133 Issue #9501: Improved shutdown handling to deal with module attributes correctly. 2013-01-15 17:55:57 +00:00
Andrew Svetlov
737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Vinay Sajip
d27e05d734 Closes #16521: Improved error handling for basicConfig(), added tests for same. 2012-11-25 15:11:46 +00:00
Vinay Sajip
ee892b9226 Issue #16244: Remove file mode overrides. 2012-10-16 10:28:31 +01:00
Vinay Sajip
b5ca932be2 Issue #16168: Use specified socket type for domain sockets in SysLogHandler. 2012-10-09 08:19:25 +01:00
Vinay Sajip
3e6d71d336 Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for the patch. 2012-06-25 23:18:45 +01:00
Vinay Sajip
66b8b08752 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:25:30 +01:00
Vinay Sajip
ee9e485c21 Closes #14452: remove BOM insertion code. 2012-04-16 14:39:53 +01:00
Vinay Sajip
6f5e54e769 Closes #14436: Convert msg + args to string before pickling. 2012-03-29 20:17:18 +01:00
Vinay Sajip
ee64b28cf4 Closes #14314: backported fix. 2012-03-23 14:36:22 +00:00
Vinay Sajip
27f48979ca Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:10:33 +00:00
Vinay Sajip
f05090372a Fix added for recent changes in non-threading environments. 2012-02-23 20:49:08 +00:00
Vinay Sajip
0abf61db4d logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion. 2012-02-23 19:45:52 +00:00
Vinay Sajip
a50c284076 Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch. 2012-01-25 17:41:13 +00:00
Vinay Sajip
315a62befc Closes #13807: Merged fix from 3.1. 2012-01-20 11:27:36 +00:00
Vinay Sajip
889bb2969d Closes #13807: Now checks for sys.stderr being there before writing to it. 2012-01-20 11:23:02 +00:00
Vinay Sajip
3bd5638736 Closes #13361: Raise correct exception type. 2011-11-07 10:15:08 +00:00
Vinay Sajip
61b787e6dd Closes #13661: Check added for type of logger name. 2011-11-07 08:53:03 +00:00
Florent Xicluna
5d1155c08e Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
Vinay Sajip
2da23caec0 Issue #12780: Removed checks in logging for .pyc/.pyo in __file__. 2011-08-19 07:14:40 +01:00
Vinay Sajip
45dedaafc2 Fixes #12637: Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch." 2011-07-25 19:53:28 +01:00
Vinay Sajip
8168d10ea6 Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler. 2011-06-09 16:50:49 +01:00
Victor Stinner
cafa2efedb logging: don't define QueueListener if Python has no thread support 2011-05-02 16:11:28 +02:00