Commit Graph

194 Commits

Author SHA1 Message Date
Vinay Sajip 171bb26b32 Issue #17713: Test temporarily skipped while failure investigated. 2013-04-13 17:35:14 +01:00
Vinay Sajip a713079ed8 Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate. 2013-04-12 17:04:23 +01:00
Vinay Sajip 04cc55a14c Closes #17540: Merged fix from 3.3. 2013-03-29 17:59:15 +00:00
Vinay Sajip 28421c6f62 Issue #17540: Added style to Formatter configuration by dict. 2013-03-29 17:56:54 +00:00
Vinay Sajip 8ec95b81d5 Closes #17521: Merged fix from 3.3. 2013-03-23 11:23:05 +00:00
Vinay Sajip 9b862b9d66 Issue #17521: Merged fix from 3.2. 2013-03-23 11:22:00 +00:00
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 5a63fe6813 Closes #17508: Merged fix from 3.3. 2013-03-22 15:27:52 +00:00
Vinay Sajip 340a4bb2fe Issue #17508: Merged fix from 3.2. 2013-03-22 15:23:13 +00:00
Vinay Sajip 3f885b5432 Issue #17508: Handled out-of-order handler configuration correctly. 2013-03-22 15:19:54 +00:00
Vinay Sajip becf5c6deb Issue #17384: Consolidated cleanup operations in tests. 2013-03-08 09:50:57 +00:00
Vinay Sajip f9e9754c47 Closes #17313: Deleted test file created by test_logging. 2013-02-27 23:33:52 +00:00
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
Andrew Svetlov 0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov 6d8a122b9c Issue #16704: Get rid of select.error in stdlib. Use OSError instead. 2012-12-17 22:23:46 +02:00
Vinay Sajip 8d27023a7e Allow configuration of handler properties. 2012-11-15 14:20:18 +00:00
Antoine Pitrou da201fa248 Try to fix issue #16264 (test_logging failure on some buildbots). 2012-10-21 17:18:27 +02:00
Giampaolo Rodola' 284529dcf4 test_logging.py: where needed use unittest's assertGreater, assertLesser, assertIs rather than assertTrue (also in order to debug issue 16264) 2012-10-17 13:24:27 +02:00
Vinay Sajip cf9e2f2420 Closes #16110: fileConfig now accepts a pre-initialised ConfigParser instance. 2012-10-09 09:06:03 +01:00
Ezio Melotti 3ffd29b615 Remove unnecessary []. 2012-10-02 19:45:00 +03:00
Vinay Sajip 4ded5512d7 Issue #15452: Added verify option for logging configuration socket listener. 2012-10-02 15:56:16 +01: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 ed1f7c834f Closes #14902: Fixed timezone conversion of a date/time in the past. Thanks to Yuriy Syrovetskiy for the report and Juancarlo Añez for the patch on which this fix is based. 2012-07-03 21:36:36 +01:00
Vinay Sajip d70be9ba1f Added test skip under Windows, as not applicable there. 2012-05-31 12:37:04 +01:00
Vinay Sajip 5e86eed33e Reapplied skip logic for test on Windows, which appears to have been lost during a merge. 2012-05-29 22:48:10 +01:00
R David Murray d1a30c939c #8739: upgrade smtpd to RFC 5321 and 1870.
smtpd now handles EHLO and has infrastructure for extended smtp command mode.
The SIZE extension is also implemented.  In order to support parameters on
MAIL FROM, the RFC 5322 parser from the email package is used to parse the
address "token".

Logging subclasses things and overrides __init__, so it was necessary to
update those __init__ functions in the logging tests to make the logging tests
pass.

The original suggestion and patch were by Alberto Trevino.  Juhana Jauhiainen
added the --size argument and SIZE parameter support.  Michele Orrù improved
the patch and added more tests.  Dan Boswell conditionalized various bits of
code on whether or not we are in HELO or EHLO mode, as well as some other
improvements and tests.  I finalized the patch and added the address parsing.
2012-05-26 14:33:59 -04:00
Vinay Sajip ac20f463da Merged hanged order of cleanup operations from 3.2. 2012-05-03 12:09:38 +01:00
Vinay Sajip 89282afafb Changed order of cleanup operations to be more sensible. 2012-05-03 12:06:52 +01:00
Vinay Sajip c94871a5c0 Merged fixed test from 3.2. 2012-04-25 10:51:35 +01:00
Vinay Sajip c2ad0aa9f1 Fixed test to work on Windows. 2012-04-25 10:47:00 +01:00
Vinay Sajip a5798ded26 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:33:33 +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 4c3f47896e Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number. 2012-04-22 18:19:50 +01:00
Vinay Sajip 7706d9ae4f Closes #14452: brought tests in line with removal of BOM insertion code. 2012-04-16 16:22:38 +01:00
Vinay Sajip 17160fd6d6 Fixes #14314: Improved SMTP timeout handling. 2012-03-15 12:02:08 +00:00
Eric V. Smith 851cad7616 Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger. 2012-03-11 22:46:04 -07:00
Vinay Sajip b2fcd3a989 Added delay before record creation. 2012-03-05 20:02:53 +00:00
Vinay Sajip 8d217c6a71 Issue #12151: Added more info to diagnostics. 2012-03-05 12:45:51 +00:00
Vinay Sajip b6f6670d87 Added more diagnostics for diagnosing #12151. 2012-03-05 09:43:47 +00:00
Vinay Sajip d263d18553 Fixed problem with diagnostic output. 2012-03-03 16:20:37 +00:00
Vinay Sajip 19b1d50732 Added additional diagnostics to help with #12151. 2012-02-28 19:02:43 +00:00
Vinay Sajip 2c94cdde6d Closes #13732: now use os.linesep instead of a literal newline. 2012-01-07 23:26:17 +00:00
Vinay Sajip 23b94d0b98 Refactored logging rotating handlers for improved flexibility. 2012-01-04 12:02:26 +00:00
Florent Xicluna e41f0de84d Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
Florent Xicluna 5252f9faee logging: replace codecs.open with builtins.open, remove '_encoded' sort, add some tests. 2011-11-07 19:43:05 +01:00
Vinay Sajip e2618f34be Closes #13361: Merge fix from 3.2. 2011-11-07 10:15:55 +00:00
Vinay Sajip 3bd5638736 Closes #13361: Raise correct exception type. 2011-11-07 10:15:08 +00:00
Vinay Sajip 39b53c50c4 Merged fix for #13361 from 3.2. 2011-11-07 08:53:58 +00:00
Vinay Sajip 61b787e6dd Closes #13661: Check added for type of logger name. 2011-11-07 08:53:03 +00:00
Vinay Sajip b9e46e95f8 Changed warn() to warning() in logging tests. 2011-10-26 13:17:20 +01:00