summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #20242: Fixed basicConfig() format strings for the alternative ↵Vinay Sajip2014-01-131-0/+16
| | | | formatting styles.
* Issue #19665: Increased timeout for SMTPHandler test.Vinay Sajip2013-12-031-2/+4
|
* Issue #18743: Fix references to non-existant "StringIO" moduleSerhiy Storchaka2013-08-291-6/+1
| | | | in docstrings and comments.
* Issue #17540: Added style to Formatter configuration by dict.Vinay Sajip2013-03-291-1/+4
|
* Issue #17521: Merged fix from 3.2.Vinay Sajip2013-03-231-2/+32
|\
| * Issue #17521: Corrected non-enabling of logger following two calls to ↵Vinay Sajip2013-03-231-2/+32
| | | | | | | | fileConfig().
* | Issue #17508: Merged fix from 3.2.Vinay Sajip2013-03-221-2/+37
|\ \ | |/
| * Issue #17508: Handled out-of-order handler configuration correctly.Vinay Sajip2013-03-221-2/+36
| |
| * Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-251-2/+158
| |
| * Added test skip under Windows, as not applicable there.Vinay Sajip2012-05-311-0/+1
| |
* | Closes #14902: Fixed timezone conversion of a date/time in the past. Thanks ↵Vinay Sajip2012-07-031-2/+4
| | | | | | | | to Yuriy Syrovetskiy for the report and Juancarlo Añez for the patch on which this fix is based.
* | Reapplied skip logic for test on Windows, which appears to have been lost ↵Vinay Sajip2012-05-291-0/+1
| | | | | | | | during a merge.
* | #8739: upgrade smtpd to RFC 5321 and 1870.R David Murray2012-05-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merged hanged order of cleanup operations from 3.2.Vinay Sajip2012-05-031-1/+1
|\ \ | |/
| * Changed order of cleanup operations to be more sensible.Vinay Sajip2012-05-031-1/+1
| |
* | Merged fixed test from 3.2.Vinay Sajip2012-04-251-17/+17
|\ \ | |/
| * Fixed test to work on Windows.Vinay Sajip2012-04-251-17/+17
| |
* | Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-5/+40
|\ \ | |/ | | | | to John Mulligan for the problem report and patch.
| * Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks ↵Vinay Sajip2012-04-241-4/+42
| | | | | | | | to John Mulligan for the problem report and patch.
* | Issue #14644: Increased default timeout for SMTPHandler. Note: last commit ↵Vinay Sajip2012-04-221-1/+1
| | | | | | | | message referred to the wrong issue number.
* | Closes #14452: brought tests in line with removal of BOM insertion code.Vinay Sajip2012-04-161-3/+3
| |
* | Fixes #14314: Improved SMTP timeout handling.Vinay Sajip2012-03-151-1/+2
| |
* | Make test_logging no longer fail if zlib not present. Closes #14256. Patch ↵Eric V. Smith2012-03-121-3/+7
| | | | | | | | by Pedro Kroger.
* | Added delay before record creation.Vinay Sajip2012-03-051-1/+1
| |
* | Issue #12151: Added more info to diagnostics.Vinay Sajip2012-03-051-4/+5
| |
* | Added more diagnostics for diagnosing #12151.Vinay Sajip2012-03-051-0/+2
| |
* | Fixed problem with diagnostic output.Vinay Sajip2012-03-031-1/+2
| |
* | Added additional diagnostics to help with #12151.Vinay Sajip2012-02-281-0/+4
| |
* | Closes #13732: now use os.linesep instead of a literal newline.Vinay Sajip2012-01-071-3/+4
| |
* | Refactored logging rotating handlers for improved flexibility.Vinay Sajip2012-01-041-3/+50
| |
* | Merge 3.2, fix typos.Florent Xicluna2011-11-111-1/+1
|\ \ | |/
* | logging: replace codecs.open with builtins.open, remove '_encoded' sort, add ↵Florent Xicluna2011-11-071-5/+18
| | | | | | | | some tests.
* | Closes #13361: Merge fix from 3.2.Vinay Sajip2011-11-071-1/+1
|\ \ | |/
| * Closes #13361: Raise correct exception type.Vinay Sajip2011-11-071-1/+1
| |
* | Merged fix for #13361 from 3.2.Vinay Sajip2011-11-071-0/+2
|\ \ | |/
| * Closes #13661: Check added for type of logger name.Vinay Sajip2011-11-071-0/+2
| |
* | Changed warn() to warning() in logging tests.Vinay Sajip2011-10-261-8/+8
| |
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-201-1/+1
| | | | | | | | | | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
* | Issue #12326: don't test the major version of sys.platformVictor Stinner2011-08-171-1/+1
| | | | | | | | | | Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5.
* | Fixes #12637: Merged fix from 3.2 and added test.Vinay Sajip2011-07-251-0/+2
|\ \ | |/
* | Closes #12419: Added ident to SysLogHandler.Vinay Sajip2011-06-271-0/+5
| |
* | Merged fix for issue #12168 from 3.2.Vinay Sajip2011-06-091-2/+6
|\ \ | |/
* | Closes issue #11557: removal of non-idiomatic code in test_logging.Vinay Sajip2011-06-051-31/+25
| |
* | Updated test_rollover delay to just over a second.Vinay Sajip2011-05-241-1/+1
| |
* | Issue #12151: Test now ignores datagram socket errors after server is closed.Vinay Sajip2011-05-231-10/+11
| |
* | Issue #12151: Correction to diagnostic code.Vinay Sajip2011-05-231-1/+1
| |
* | Issue #12151: Added diagnostics to help diagnose intermittent socket errors.Vinay Sajip2011-05-231-0/+15
| |
* | Issue #12151: test_logging writes debug messages to stderr, not stdoutVictor Stinner2011-05-221-2/+2
| | | | | | | | stdout are lost in buildbots
* | Issue #12136: Added change to handle non-availability of the ssl module.Vinay Sajip2011-05-211-9/+14
| |