Brett Cannon
|
0a140668fa
|
Issue #18200: Update the stdlib (except tests) to use
ModuleNotFoundError.
|
2013-06-13 20:57:26 -04:00 |
Vinay Sajip
|
3b84eae03e
|
Closes #18046: Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch.
|
2013-05-25 03:20:34 -07:00 |
Vinay Sajip
|
862b15e7d0
|
Issue #17981: Closed socket on error in SysLogHandler.
|
2013-05-16 22:57:02 +01:00 |
Vinay Sajip
|
3a8f510b52
|
Closes #17981: Merged fix from 3.3.
|
2013-05-16 23:02:54 +01:00 |
Vinay Sajip
|
40589f4b63
|
Closes #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
|
2013-04-22 10:14:12 +01:00 |
Vinay Sajip
|
e917052e1a
|
Issue #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
|
2013-04-22 10:07:40 +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 |
Victor Stinner
|
765531d2d0
|
Issue #17516: use comment syntax for comments, instead of multiline string
|
2013-03-26 01:11:54 +01: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 |
Giampaolo Rodola'
|
0166a283f6
|
modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)
|
2013-02-12 15:14:17 +01:00 |
Vinay Sajip
|
b51aa7b7eb
|
Issue #9501: Merged fix from 3.3.
|
2013-01-15 17:57:18 +00:00 |
Vinay Sajip
|
6e669fba47
|
Issue #9501: Merged fix from 3.2.
|
2013-01-15 17:56:43 +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
|
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
|
a191959849
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:27:16 +02:00 |
Andrew Svetlov
|
5b89840d9c
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:26:36 +02: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
|
8d27023a7e
|
Allow configuration of handler properties.
|
2012-11-15 14:20:18 +00:00 |
Vinay Sajip
|
d06d5403de
|
Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion.
|
2012-10-31 23:49:19 +00:00 |
Giampaolo Rodola'
|
f9de90a935
|
remove obsolete hasattr() check for socket.sendall
|
2012-10-26 18:32:24 +02:00 |
Vinay Sajip
|
3ba726ce04
|
Closes #16244: Merged change from 3.3.
|
2012-10-16 10:33:30 +01:00 |
Vinay Sajip
|
e7e7af4558
|
Issue #16244: Merged change from 3.2.
|
2012-10-16 10:32:13 +01:00 |
Vinay Sajip
|
ee892b9226
|
Issue #16244: Remove file mode overrides.
|
2012-10-16 10:28:31 +01:00 |
Giampaolo Rodola'
|
35eeb30adf
|
logging's SocketHandler: get rid of some legacy code and use the newer socket.create_connection() utility function
|
2012-10-15 16:57:37 +02:00 |
Vinay Sajip
|
cf9e2f2420
|
Closes #16110: fileConfig now accepts a pre-initialised ConfigParser instance.
|
2012-10-09 09:06:03 +01:00 |
Vinay Sajip
|
6978d58e18
|
Closes #16168: Merged SysLogHandler update from 3.3.
|
2012-10-09 08:23:06 +01:00 |
Vinay Sajip
|
7903df4125
|
Issue #16168: Merged SysLogHandler update from 3.2.
|
2012-10-09 08:22:01 +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
|
8cf4eb1463
|
Issue #16141: replaced old-style exception handling code in logging with the modern idiom.
|
2012-10-09 08:06:13 +01:00 |
Vinay Sajip
|
3e763dadde
|
Updated docstring for logging.config.listen().
|
2012-10-02 16:15:33 +01:00 |
Vinay Sajip
|
4ded5512d7
|
Issue #15452: Added verify option for logging configuration socket listener.
|
2012-10-02 15:56:16 +01:00 |
Vinay Sajip
|
a57a8e072c
|
Closes #15179: Merged fix from 3.2.
|
2012-06-25 23:20:27 +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
|
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
|
26308da174
|
Issue #14622: Increased default timeout for SMTPHandler.
|
2012-04-22 18:16:14 +01:00 |
Vinay Sajip
|
b4e59e9dc1
|
Closes #14452: remove BOM insertion code.
|
2012-04-16 14:44:31 +01:00 |
Vinay Sajip
|
ee9e485c21
|
Closes #14452: remove BOM insertion code.
|
2012-04-16 14:39:53 +01:00 |
Vinay Sajip
|
b4f6da8265
|
Closes #14436: merged fix from 3.2.
|
2012-03-29 20:18:21 +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
|
17160fd6d6
|
Fixes #14314: Improved SMTP timeout handling.
|
2012-03-15 12:02:08 +00:00 |
Vinay Sajip
|
0f15181d39
|
Closes #14267: Merged fix from 3.2.
|
2012-03-13 12:15:09 +00:00 |
Vinay Sajip
|
27f48979ca
|
Closes #14267: Corrected computation of rollover filename.
|
2012-03-13 12:10:33 +00:00 |
Vinay Sajip
|
323e4fb864
|
Merged fix added for recent changes in non-threading environments.
|
2012-02-23 20:51:18 +00:00 |
Vinay Sajip
|
f05090372a
|
Fix added for recent changes in non-threading environments.
|
2012-02-23 20:49:08 +00:00 |
Vinay Sajip
|
57c223791d
|
Merged logging flush/close changes from 3.2.
|
2012-02-23 20:03:49 +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
|
9b727eca26
|
Closes #13859: Merged fix from 3.2 - thanks to Matt Joiner for spotting this and the patch.
|
2012-01-25 17:49:45 +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
|
5d116b758a
|
Closes #13807: Merged fix from 3.2.
|
2012-01-20 11:31:46 +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
|
23b94d0b98
|
Refactored logging rotating handlers for improved flexibility.
|
2012-01-04 12:02:26 +00:00 |
Gregory P. Smith
|
e85488c6f4
|
Mention that level can be an int or str in the setLevel docstring.
|
2011-12-17 12:36:34 -08: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 |
Florent Xicluna
|
5d1155c08e
|
Closes #13258: Use callable() built-in in the standard library.
|
2011-10-28 14:45:05 +02:00 |
Florent Xicluna
|
aabbda5354
|
Merge 3.2
|
2011-10-28 14:52:29 +02:00 |
Vinay Sajip
|
0a889534e7
|
Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning.
|
2011-10-22 13:34:48 +01:00 |
Vinay Sajip
|
04d5bc00a2
|
Closes #13235: Added deprecation for warn() methods and function in logging.
|
2011-10-21 07:33:42 +01:00 |
Vinay Sajip
|
444be16136
|
Issue #12780: Merged fix from 3.2.
|
2011-08-19 07:15:45 +01: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
|
8188f585b2
|
Fixes #12637: Merged fix from 3.2 and added test.
|
2011-07-25 19:58:13 +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
|
2353e35570
|
Closes #12419: Added ident to SysLogHandler.
|
2011-06-27 15:40:06 +01:00 |
Vinay Sajip
|
ae5740f139
|
Made time formats in Formatter more configurable.
|
2011-06-09 18:42:19 +01:00 |
Vinay Sajip
|
8dd8d582e3
|
Merged fix for issue #12168 from 3.2.
|
2011-06-09 16:55:23 +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
|
2a12974bca
|
Close #12028: Make threading._get_ident() public, rename it to
threading.get_ident() and document it. This function was used by
_thread.get_ident().
|
2011-05-30 23:02:52 +02:00 |
Vinay Sajip
|
fd28502fcf
|
Closed resource leak in SysLogHandler.
|
2011-05-07 17:01:22 +01:00 |
Vinay Sajip
|
b37cd39202
|
Changed where socket close is called on connection failure.
|
2011-05-07 15:55:47 +01:00 |
Vinay Sajip
|
2261b325ab
|
Close socket on connection failure.
|
2011-05-07 13:44:11 +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
|
de19e08de4
|
Updated usage of boolean values.
|
2011-04-30 21:52:26 +01:00 |
Vinay Sajip
|
312cc0d28e
|
Updated usage of boolean values.
|
2011-04-30 21:51:51 +01:00 |
Vinay Sajip
|
7fe1d51924
|
Improved test_logging coverage.
|
2011-04-28 12:04:58 +01:00 |
Vinay Sajip
|
5a35b06d5e
|
test_logging coverage improvements.
|
2011-04-27 11:31:14 +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
|
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
|
a3359eec7d
|
Whitespace normalized.
|
2011-04-11 08:43:52 +01:00 |
Vinay Sajip
|
4a0a31df5c
|
Added 'handlers' argument to logging.basicConfig.
|
2011-04-11 08:42:07 +01: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
|
d9512e9ac1
|
Issue #11444: Merge fix from 3.1.
|
2011-03-08 22:53:21 +00:00 |