Commit graph

176 commits

Author SHA1 Message Date
Vinay Sajip
a552ca6fd0 Issue #12068: Fix appears to have worked; added more diagnostics for rare failures. 2011-05-13 12:16:04 +01:00
Vinay Sajip
672c581633 Added diagnostics to test_logging, after reverting last change. 2011-05-13 07:09:40 +01:00
Vinay Sajip
06c768a35a TimedTRotatingFileHandler test now improved to minimise chances of failure on very slow machines. 2011-05-12 16:18:29 +01:00
Vinay Sajip
463ac515ee Issue #12039: Add end_headers() call to avoid BadStatusLine. 2011-05-10 09:10:08 +01:00
Vinay Sajip
e73afad50f Issue #12039: Now suppress spurious select.error raised on FreeBSD when the server (an asyncore.dispatcher) is closed. 2011-05-10 07:48:28 +01:00
Vinay Sajip
f223116001 Update incorrect comment. 2011-05-09 22:05:50 +01:00
Vinay Sajip
60ccd8214f Improved Windows test coverage. 2011-05-09 17:32:09 +01:00
Vinay Sajip
fd28502fcf Closed resource leak in SysLogHandler. 2011-05-07 17:01:22 +01:00
Vinay Sajip
a6bbbe43ef Refined rollover test for slow test machines. 2011-05-06 19:06:00 +01:00
Vinay Sajip
89c8862ee5 Close handler opened in test. 2011-05-06 07:19:41 +01:00
Vinay Sajip
28338fbdba Added additional output to help diagnose buildbot failures. 2011-05-05 21:23:42 +01:00
Vinay Sajip
e9a56e8d49 Tweaked timed rollover test to allow for test-time delays. 2011-05-05 14:18:33 +01:00
Vinay Sajip
0372e10684 Improved coverage and fixed bug in HTTPHandler with POST requests. 2011-05-05 12:59:14 +01:00
Victor Stinner
59bec36b1c (Merge 3.2) logging: don't define QueueListener if Python has no thread support 2011-05-02 16:14:16 +02:00
Victor Stinner
cafa2efedb logging: don't define QueueListener if Python has no thread support 2011-05-02 16:11:28 +02:00
Vinay Sajip
714b8dc501 Improved thread interlocks in tests. 2011-05-02 14:43:00 +01:00
Vinay Sajip
314b92b26e Updated docstrings. 2011-05-02 14:31:16 +01:00
Vinay Sajip
7367d08838 Added tests to improve coverage. 2011-05-02 13:17:27 +01:00
Vinay Sajip
a463d25930 Improved test coverage. 2011-04-30 21:52:48 +01:00
Vinay Sajip
7fe1d51924 Improved test_logging coverage. 2011-04-28 12:04:58 +01:00
Vinay Sajip
6bba65c799 Use correct Unix socket for syslogd on OS X. 2011-04-27 14:31:55 +01:00
Vinay Sajip
dbeb27461c test_logging: handle syslogd connection failure. 2011-04-27 14:18:06 +01:00
Vinay Sajip
5a35b06d5e test_logging coverage improvements. 2011-04-27 11:31:14 +01:00
Vinay Sajip
86a96cee23 Re-enabled time test in test_logging. 2011-04-27 08:30:30 +01:00
Vinay Sajip
d972d8fea2 Disabled test failing on buildbots. 2011-04-26 20:51:07 +01:00
Vinay Sajip
37eb3387a4 Refined time test in test_logging. 2011-04-26 20:26:41 +01:00
Vinay Sajip
373baef1eb Yet more test_logging coverage improvements. 2011-04-26 20:05:24 +01:00
Vinay Sajip
985ef87ea0 More test_logging coverage improvements. 2011-04-26 19:34:04 +01:00
Vinay Sajip
26fe4b70cf test_logging coverage improvements. 2011-04-26 18:43:05 +01:00
Vinay Sajip
00bdbe1d97 Fixed bug in test_logging. 2011-04-22 00:17:46 +01:00
Vinay Sajip
5e66b167ff Tidied comments and docstrings. 2011-04-20 15:41:14 +01:00
Vinay Sajip
5b9eecf8cf Attempt fix of #11557 by refining test logic. 2011-04-20 12:50:42 +01:00
Vinay Sajip
1e42f9e4c0 Attempt fix of #11557 by refining setup/teardown logic. 2011-04-20 12:20:44 +01:00
Vinay Sajip
95bf50416e Attempt fix of #11557 by changing setup/teardown logic. 2011-04-20 11:50:56 +01:00
Vinay Sajip
3def7e0f01 Attempt fix of #11557 by changing teardown logic. 2011-04-20 10:58:06 +01:00
Vinay Sajip
cd5a2bd48e Issue #11852: Merge fix from 3.2. 2011-04-15 22:29:15 +01:00
Vinay Sajip
e723e96103 Issue #11852: Add missing imports and update tests. 2011-04-15 22:27:17 +01:00
Vinay Sajip
4a0a31df5c Added 'handlers' argument to logging.basicConfig. 2011-04-11 08:42:07 +01:00
Victor Stinner
3c7c355e67 Issue #11557: disable test_logging.test_no_kwargs (fail on most buildbots) 2011-03-31 03:22:15 +02:00
Vinay Sajip
e6c1eb9267 Closes issue #11557: Added Natalia Bidart's patch to improve test coverage. 2011-03-29 17:20:34 +01:00
Vinay Sajip
9f9991c2f5 #Issue 11424: added equivalent fixes for dictConfig. 2011-03-07 18:02:57 +00:00
Vinay Sajip
e783553daa #Issue 11424: merged fix from 3.1. 2011-03-07 17:59:50 +00:00
Vinay Sajip
3f84b07816 Issue #11424: Fix bug in determining child loggers. 2011-03-07 17:49:33 +00:00
Vinay Sajip
89807a5277 Issue #11330: Updated tests for correct asctime handling. 2011-02-26 16:06:02 +00:00
Vinay Sajip
ed0473cfaf Issue #9941: Fixed TimedRotatingHandler test issues. 2011-02-26 15:35:38 +00:00
Vinay Sajip
7b0e86ef17 Issue #10788: Changed test_logging setUp logic to provide more information. 2010-12-30 23:26:50 +00:00
Vinay Sajip
7b60f4e949 Issue #10626: test_logging now preserves logger disabled states. 2010-12-27 14:31:52 +00:00
Vinay Sajip
60b4df15d6 Issue #10774: test_logging now removes temp files created during tests. 2010-12-27 11:18:52 +00:00
Vinay Sajip
5a27d40186 logging: added handler of last resort. 2010-12-10 11:42:57 +00:00
Vinay Sajip
615615291f logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. 2010-12-03 11:50:38 +00:00