Vinay Sajip
|
b6cf631f9c
|
Issue #21709: Merged update from 3.4.
|
2014-06-12 23:38:16 +01:00 |
Vinay Sajip
|
194bcaf4dc
|
Issue #21709: Improved implementation to cover the frozen module case.
|
2014-06-12 23:36:33 +01:00 |
Vinay Sajip
|
99537627fd
|
Closes #21709: Merged fix from 3.4.
|
2014-06-11 08:04:16 +01:00 |
Vinay Sajip
|
80f2262dcf
|
Issue #21709: Remove references to __file__ when part of a frozen application.
|
2014-06-11 08:01:32 +01:00 |
Vinay Sajip
|
ddbd2ee6e5
|
Closes #21203: Updated fileConfig and dictConfig to remove inconsistencies. Thanks to Jure Koren for the patch.
|
2014-04-15 14:24:53 +01:00 |
Vinay Sajip
|
1b7611405d
|
Issue #21172: isinstance check relaxed from dict to collections.Mapping.
|
2014-04-10 07:12:19 +01:00 |
Vinay Sajip
|
156307bfd6
|
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.
|
2014-04-04 10:51:49 +01:00 |
Vinay Sajip
|
b1698d4030
|
Issue #20444: Reduced code duplication.
|
2014-03-20 13:14:39 +00:00 |
Vinay Sajip
|
71dcb28d1c
|
Issue #20558: Improved implementation of error handling.
|
2014-03-20 13:03:17 +00:00 |
Victor Stinner
|
7fa767e517
|
Issue #20976: pyflakes: Remove unused imports
|
2014-03-20 09:16:38 +01:00 |
Vinay Sajip
|
698abe75d4
|
Closes #20918: Added handling for exceptions during fallback output of logging exceptions.
|
2014-03-14 13:42:19 +00:00 |
Vinay Sajip
|
30e6a64e76
|
Closes #20242: Merged fix from 3.3.
|
2014-01-13 22:01:16 +00:00 |
Vinay Sajip
|
1fd1202072
|
Issue #20242: Fixed basicConfig() format strings for the alternative formatting styles.
|
2014-01-13 21:59:56 +00:00 |
Vinay Sajip
|
a76157dca6
|
Issue #19523: Closed FileHandler leak which occurred when delay was set.
|
2013-11-15 20:40:27 +00:00 |
Vinay Sajip
|
5e75829ec3
|
Closes #19523: Merged fix from 3.3.
|
2013-11-15 20:42:47 +00:00 |
Vinay Sajip
|
38c741c1fc
|
Issue #19182: Fixed socket leak on exception when connecting.
|
2013-10-06 18:36:00 +01:00 |
Vinay Sajip
|
5421f35d5e
|
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
|
2013-09-27 18:18:28 +01:00 |
Vinay Sajip
|
f7b436ce8d
|
Closes #18941: Merged fix from 3.3.
|
2013-09-06 10:26:48 +01:00 |
Vinay Sajip
|
43c6ef1899
|
Issue #18941: Respected delay when doing rollover.
|
2013-09-06 10:25:31 +01:00 |
Vinay Sajip
|
a92a3564a9
|
Closes #18940: Merged fix from 3.3.
|
2013-09-06 10:11:37 +01:00 |
Vinay Sajip
|
d859926b29
|
Issue #18940: Handled low-volume logging when delay is True.
|
2013-09-06 10:10:22 +01:00 |
Vinay Sajip
|
3f58277382
|
Closes #18671: Output more information when logging exceptions occur.
|
2013-08-08 18:28:53 +01:00 |
Brett Cannon
|
cd171c8e92
|
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
|
2013-07-04 17:43:24 -04:00 |
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 |
Vinay Sajip
|
c8ab6eeb01
|
Issue #11444: Lock handlers while flushing/closing during shutdown.
|
2011-03-08 22:49:57 +00: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
|
df309939e5
|
Issue #11444: Merge fix from 3.2.
|
2011-03-08 22:54:11 +00:00 |
Vinay Sajip
|
4bcfb92168
|
Issue #11424: Merged fix from 3.2.
|
2011-03-07 18:14:36 +00:00 |
Vinay Sajip
|
399fc14609
|
Issue #11330: Updated tests for correct asctime handling.
|
2011-02-26 16:06:02 +00:00 |
Vinay Sajip
|
89807a5277
|
Issue #11330: Updated tests for correct asctime handling.
|
2011-02-26 16:06:02 +00:00 |
Vinay Sajip
|
2a4c0f8b60
|
Removed typo.
|
2011-02-26 14:28:36 +00:00 |
Vinay Sajip
|
f368895780
|
Removed typo.
|
2011-02-26 14:28:36 +00:00 |
Vinay Sajip
|
10914b7473
|
Issue #11330: asctime format bug fixed.
|
2011-02-26 14:15:48 +00:00 |
Vinay Sajip
|
859c7fac78
|
Issue #11330: asctime format bug fixed.
|
2011-02-26 14:15:48 +00:00 |
Vinay Sajip
|
aa7c179285
|
Improved QueueListener implementation - queue sentinel addition made extensible.
|
2011-02-25 15:56:55 +00:00 |
Vinay Sajip
|
eb9d5ad6ba
|
Issue #10949: Improved robustness of rotating file handlers.
|
2011-01-21 23:35:57 +00:00 |
Vinay Sajip
|
01241d6c35
|
Issue #10949: Improved robustness of rotating file handlers.
|
2011-01-21 23:35:57 +00:00 |
Georg Brandl
|
ed3baf35c3
|
#10810: fix missing import.
|
2011-01-02 22:55:12 +00:00 |
Vinay Sajip
|
5a27d40186
|
logging: added handler of last resort.
|
2010-12-10 11:42:57 +00:00 |
Vinay Sajip
|
fad058f0ca
|
logging: tidied up some docstrings.
|
2010-12-03 13:01:11 +00:00 |
Vinay Sajip
|
615615291f
|
logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.
|
2010-12-03 11:50:38 +00:00 |
Vinay Sajip
|
8593ae6451
|
Logging: added stack_info argument.
|
2010-11-14 21:33:04 +00:00 |
Łukasz Langa
|
26d513cf2f
|
Issue #5412: extend configparser to support mapping access
|
2010-11-10 18:57:39 +00:00 |
Vinay Sajip
|
c5b273011b
|
Added style argument to logging.basicConfig() and documented this change.
|
2010-10-31 14:59:16 +00:00 |
Brian Curtin
|
d9f3f08b8c
|
Merged revisions 86019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines
Fix a ResourceWarning for an unclosed socket.
........
|
2010-10-31 04:42:40 +00:00 |
Brian Curtin
|
6ff2a7d121
|
Fix a ResourceWarning for an unclosed socket.
|
2010-10-31 04:40:53 +00:00 |
Vinay Sajip
|
6a65c5df86
|
logging: Improved Formatter implementation.
|
2010-10-26 13:16:11 +00:00 |
Vinay Sajip
|
d0557bfe77
|
logging: Formatter implementation tweak.
|
2010-10-25 15:25:24 +00:00 |
Vinay Sajip
|
a39c571061
|
logging: Added style option to Formatter to allow %, {} or himBHformatting.
|
2010-10-25 13:57:39 +00:00 |
Vinay Sajip
|
2a20dfc2aa
|
logging: Made StreamHandler terminator configurable.
|
2010-10-20 20:05:38 +00:00 |
Vinay Sajip
|
fc082cafa6
|
logging: Documented usage of callables as filters.
|
2010-10-19 21:13:49 +00:00 |
Vinay Sajip
|
6dbed2e8b3
|
logging: Allowed filters to be just callables.
|
2010-10-19 20:53:01 +00:00 |
Vinay Sajip
|
6fac817136
|
logging: Added tests for _logRecordClass changes.
|
2010-10-19 20:44:14 +00:00 |
Vinay Sajip
|
062d56b1f0
|
logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to increase flexibility of LogRecord creation.
|
2010-10-19 15:26:24 +00:00 |
Vinay Sajip
|
1c71b2af1a
|
Issue #9948: logging: fixed problem of losing filename case information.
|
2010-10-10 20:36:04 +00:00 |
Vinay Sajip
|
8382d0fe2e
|
Removed duplicated method.
|
2010-10-09 11:24:34 +00:00 |
Vinay Sajip
|
805ddaa3da
|
Issue #9947: logging: backported locking fix from py3k.
|
2010-09-27 21:51:36 +00:00 |
Vinay Sajip
|
3ab905f17b
|
Issue #9945: logging: backported locking fixes from py3k.
|
2010-09-27 21:46:14 +00:00 |
Vinay Sajip
|
4fbe4b340a
|
logging: NullHandler optimisation.
|
2010-09-26 11:04:10 +00:00 |
Vinay Sajip
|
9fdd11b3b6
|
Issue #9947: logging: Fixed locking bug in stopListening.
|
2010-09-25 17:48:25 +00:00 |
Vinay Sajip
|
32fb6a81f9
|
Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler.
|
2010-09-25 17:42:36 +00:00 |
Vinay Sajip
|
0637d493e9
|
logging: added QueueListener and documentation.
|
2010-09-23 08:15:54 +00:00 |
Vinay Sajip
|
0258ce8f0a
|
logging: Added QueueHandler.prepare and updated documentation.
|
2010-09-22 20:34:53 +00:00 |
Vinay Sajip
|
212b590e11
|
logging: Updated LoggerAdapter implementation.
|
2010-09-21 11:31:32 +00:00 |
Vinay Sajip
|
c84f016988
|
Added some methods to LoggerAdapter, and updated documentation.
|
2010-09-21 11:25:39 +00:00 |
Vinay Sajip
|
61c3f0dae7
|
logging: added hasHandlers() to LoggerAdapter.
|
2010-09-20 10:13:13 +00:00 |
Vinay Sajip
|
b4a0809ad7
|
logging: Add hasHandlers() method to Logger.
|
2010-09-20 09:55:00 +00:00 |
Vinay Sajip
|
af9d10aa30
|
logging: enhanced HTTPHandler
|
2010-09-13 20:40:30 +00:00 |
Vinay Sajip
|
9907918174
|
Removed unused, commented-out code.
|
2010-09-13 20:28:57 +00:00 |
Vinay Sajip
|
2314fc729b
|
logging: Added threading interlock in basicConfig().
|
2010-09-10 08:25:13 +00:00 |
Vinay Sajip
|
121a1c4e11
|
logging: Added QueueHandler.
|
2010-09-08 10:46:15 +00:00 |
Vinay Sajip
|
dc5097ff07
|
Removed _unicode variable which is always False in Python 3.x.
|
2010-08-31 07:52:17 +00:00 |
Vinay Sajip
|
ec1cd1c475
|
logging: merged duplicated code in fileConfig and dictConfig paths.
|
2010-08-30 19:02:14 +00:00 |
Vinay Sajip
|
609364a989
|
Logging: removed some old commented out code.
|
2010-08-30 18:31:13 +00:00 |
Vinay Sajip
|
40d9a4e854
|
Improved logging.Formatter date/time formatting documentation.
|
2010-08-30 18:10:03 +00:00 |
Vinay Sajip
|
de6e9d615d
|
Issue #9501: Fixed logging regressions in cleanup code.
|
2010-08-23 17:50:30 +00:00 |
Vinay Sajip
|
89994b279f
|
Issue #9512: Made comment more informative.
|
2010-08-22 18:11:02 +00:00 |
Vinay Sajip
|
89d8f82d01
|
Issue #7077: Fixed bug in previous fix.
|
2010-08-20 08:43:22 +00:00 |
Vinay Sajip
|
467d12fcb2
|
Issue #7077: Fixed SysLogHandler implementation of Unicode handling.
|
2010-08-19 22:20:22 +00:00 |
Florent Xicluna
|
dc692740a8
|
Replace the deprecated ConfigParser.readfp() method, and fix the incomplete merge in r82293.
|
2010-08-15 20:16:27 +00:00 |
Senthil Kumaran
|
7a956cc74e
|
Merged revisions 83901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
........
|
2010-08-09 20:08:48 +00:00 |
Senthil Kumaran
|
30e86a4767
|
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
|
2010-08-09 20:01:35 +00:00 |
Vinay Sajip
|
e030d937c6
|
Backported SysLogHandler fix for issue #7077.
|
2010-07-15 21:40:13 +00:00 |
Benjamin Peterson
|
a82addb5f3
|
Merged revisions 80712,81651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80712 | vinay.sajip | 2010-05-03 10:11:53 -0500 (Mon, 03 May 2010) | 1 line
Issue #8576: logging updated to remove usage of find_unused_port().
........
r81651 | vinay.sajip | 2010-06-02 05:05:31 -0500 (Wed, 02 Jun 2010) | 1 line
Logging: improved error reporting for BaseConfigurator.resolve().
........
|
2010-06-27 20:54:28 +00:00 |
Brett Cannon
|
c236850ad1
|
Calling __import__ as a method technically works, but really should be wrapped
in a staticmethod. This is important for when __import__ is set to a function
defined in Python instead of C.
|
2010-06-12 00:39:28 +00:00 |
Benjamin Peterson
|
22005fc5ba
|
Merged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79279 | vinay.sajip | 2010-03-22 07:33:08 -0500 (Mon, 22 Mar 2010) | 1 line
Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
........
r79284 | vinay.sajip | 2010-03-22 08:02:28 -0500 (Mon, 22 Mar 2010) | 1 line
Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
........
r79293 | vinay.sajip | 2010-03-22 10:29:01 -0500 (Mon, 22 Mar 2010) | 1 line
logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
........
r79373 | vinay.sajip | 2010-03-24 09:31:21 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Added LOG_FTP for SysLogHandler and updated documentation.
........
r79376 | vinay.sajip | 2010-03-24 10:10:40 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Documentation tweak.
........
r79379 | vinay.sajip | 2010-03-24 12:36:35 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Updated SysLogHandler documentation.
........
r79876 | vinay.sajip | 2010-04-06 17:32:37 -0500 (Tue, 06 Apr 2010) | 1 line
Issue #8327: logging: Clarification of propagation functionality in documentation.
........
r79888 | vinay.sajip | 2010-04-07 04:40:52 -0500 (Wed, 07 Apr 2010) | 1 line
Issue #8331: logging: fixed some grammatical errors in documentation.
........
|
2010-04-11 16:25:06 +00:00 |
Benjamin Peterson
|
886af966d8
|
Merged revisions 78966,78970,79018,79026-79027,79055,79156,79159,79163-79164,79173,79176,79194,79208,79212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78966 | florent.xicluna | 2010-03-14 10:20:59 -0500 (Sun, 14 Mar 2010) | 2 lines
Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.
........
r78970 | benjamin.peterson | 2010-03-14 21:58:24 -0500 (Sun, 14 Mar 2010) | 1 line
this little exception dance is pointless
........
r79018 | collin.winter | 2010-03-16 22:04:01 -0500 (Tue, 16 Mar 2010) | 1 line
Delete unused import.
........
r79026 | vinay.sajip | 2010-03-17 10:05:57 -0500 (Wed, 17 Mar 2010) | 1 line
Issue #8162: logging: Clarified docstring and documentation for disable function.
........
r79027 | collin.winter | 2010-03-17 12:36:16 -0500 (Wed, 17 Mar 2010) | 1 line
Avoid hardcoding refcounts in tests.
........
r79055 | benjamin.peterson | 2010-03-18 16:30:48 -0500 (Thu, 18 Mar 2010) | 1 line
remove installation of deleted test/output dir
........
r79156 | florent.xicluna | 2010-03-20 17:21:02 -0500 (Sat, 20 Mar 2010) | 2 lines
Cleanup test_struct using check_warnings.
........
r79159 | florent.xicluna | 2010-03-20 17:26:42 -0500 (Sat, 20 Mar 2010) | 2 lines
Cleanup test_tarfile, and use check_warnings.
........
r79163 | michael.foord | 2010-03-20 19:53:39 -0500 (Sat, 20 Mar 2010) | 1 line
A faulty load_tests in a test module no longer halts test discovery. A placeholder test, that reports the failure, is created instead.
........
r79164 | michael.foord | 2010-03-20 19:55:58 -0500 (Sat, 20 Mar 2010) | 1 line
Change order of arguments in a unittest function.
........
r79173 | georg.brandl | 2010-03-21 04:09:38 -0500 (Sun, 21 Mar 2010) | 1 line
Document that GzipFile supports iteration.
........
r79176 | georg.brandl | 2010-03-21 04:17:41 -0500 (Sun, 21 Mar 2010) | 1 line
Introduce copy by slicing, used in later chapters.
........
r79194 | florent.xicluna | 2010-03-21 06:58:11 -0500 (Sun, 21 Mar 2010) | 2 lines
Use assertRaises and add a specific warning filter.
........
r79208 | andrew.kuchling | 2010-03-21 13:47:12 -0500 (Sun, 21 Mar 2010) | 1 line
Add items
........
r79212 | georg.brandl | 2010-03-21 14:01:38 -0500 (Sun, 21 Mar 2010) | 1 line
Fix plural.
........
|
2010-03-21 23:13:07 +00:00 |
Benjamin Peterson
|
9451a1c6ae
|
Merged revisions 77967,77969,77973,77979,77985-77986,78009,78029,78031-78033,78081,78085,78103,78105-78106,78108,78246,78703,78728,78731,78853,78855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77967 | vinay.sajip | 2010-02-04 12:48:53 -0600 (Thu, 04 Feb 2010) | 1 line
Logging: Implemented PEP 391.
........
r77969 | vinay.sajip | 2010-02-04 14:18:28 -0600 (Thu, 04 Feb 2010) | 1 line
Removed spurious print statement.
........
r77973 | vinay.sajip | 2010-02-04 14:23:45 -0600 (Thu, 04 Feb 2010) | 1 line
Issue #7851: logging: clarification on logging configuration files.
........
r77979 | vinay.sajip | 2010-02-04 15:40:56 -0600 (Thu, 04 Feb 2010) | 1 line
Added unit test for cfg:// resolution.
........
r77985 | vinay.sajip | 2010-02-05 08:52:05 -0600 (Fri, 05 Feb 2010) | 1 line
Issue #7857: test_logging: listener test now uses find_unused_port().
........
r77986 | vinay.sajip | 2010-02-05 09:40:20 -0600 (Fri, 05 Feb 2010) | 1 line
Issue #7857: test_logging: listener tests disabled for now.
........
r78009 | vinay.sajip | 2010-02-05 17:43:11 -0600 (Fri, 05 Feb 2010) | 1 line
test_logging: minor tweaks to timeouts, listening tests marked as skipped.
........
r78029 | vinay.sajip | 2010-02-06 14:00:43 -0600 (Sat, 06 Feb 2010) | 1 line
Issue #7857: Tentatively re-enabling one test to see effect on buildbots.
........
r78031 | vinay.sajip | 2010-02-06 14:28:36 -0600 (Sat, 06 Feb 2010) | 1 line
Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test.
........
r78032 | georg.brandl | 2010-02-06 15:54:40 -0600 (Sat, 06 Feb 2010) | 1 line
Remove unused imports from test_logging.
........
r78033 | benjamin.peterson | 2010-02-06 16:08:15 -0600 (Sat, 06 Feb 2010) | 1 line
make waiting for the server to start robust
........
r78081 | vinay.sajip | 2010-02-07 06:56:54 -0600 (Sun, 07 Feb 2010) | 1 line
Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
........
r78085 | vinay.sajip | 2010-02-07 07:06:51 -0600 (Sun, 07 Feb 2010) | 1 line
logging: Removed some more 1.5.2 support code.
........
r78103 | vinay.sajip | 2010-02-08 00:50:14 -0600 (Mon, 08 Feb 2010) | 1 line
Removed spurious print statement in test.
........
r78105 | vinay.sajip | 2010-02-08 09:32:08 -0600 (Mon, 08 Feb 2010) | 1 line
logging: skipped listening tests because they're not working reliably.
........
r78106 | vinay.sajip | 2010-02-08 10:05:50 -0600 (Mon, 08 Feb 2010) | 1 line
Issue #7857: Another attempt to keep the buildbots happy.
........
r78108 | vinay.sajip | 2010-02-08 15:18:15 -0600 (Mon, 08 Feb 2010) | 1 line
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
........
r78246 | vinay.sajip | 2010-02-19 17:53:17 -0600 (Fri, 19 Feb 2010) | 1 line
logging: Documented warnings module integration.
........
r78703 | vinay.sajip | 2010-03-05 16:11:24 -0600 (Fri, 05 Mar 2010) | 1 line
Factored out time usage determination into a method, to facilitate alternative formatting implementations in the future.
........
r78728 | vinay.sajip | 2010-03-06 09:12:08 -0600 (Sat, 06 Mar 2010) | 1 line
Added schema version test in dictConfig.
........
r78731 | vinay.sajip | 2010-03-06 09:56:03 -0600 (Sat, 06 Mar 2010) | 1 line
Added checks for tuples in dictConfig.
........
r78853 | vinay.sajip | 2010-03-12 00:01:21 -0600 (Fri, 12 Mar 2010) | 1 line
Issue #8117: logging: Improved algorithm for computing initial rollover time.
........
r78855 | vinay.sajip | 2010-03-12 03:16:10 -0600 (Fri, 12 Mar 2010) | 1 line
Issue #8117: Updated NEWS entry and added to logging documentation.
........
|
2010-03-13 22:30:34 +00:00 |
Vinay Sajip
|
db81c4c63a
|
Merged revisions 77967,77969,78033,78055,78081,78085,78108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77967 | vinay.sajip | 2010-02-04 18:48:53 +0000 (Thu, 04 Feb 2010) | 1 line
Logging: Implemented PEP 391.
........
r77969 | vinay.sajip | 2010-02-04 20:18:28 +0000 (Thu, 04 Feb 2010) | 1 line
Removed spurious print statement.
........
r78033 | benjamin.peterson | 2010-02-06 22:08:15 +0000 (Sat, 06 Feb 2010) | 1 line
make waiting for the server to start robust
........
r78055 | vinay.sajip | 2010-02-07 01:37:08 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7868: logging: added loggerClass attribute to Manager.
........
r78081 | vinay.sajip | 2010-02-07 12:56:54 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
........
r78085 | vinay.sajip | 2010-02-07 13:06:51 +0000 (Sun, 07 Feb 2010) | 1 line
logging: Removed some more 1.5.2 support code.
........
r78108 | vinay.sajip | 2010-02-08 21:18:15 +0000 (Mon, 08 Feb 2010) | 1 line
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
........
|
2010-02-25 23:13:06 +00:00 |
Georg Brandl
|
01e4d57b0f
|
Remove Python 1.x or 2.x compatibility code.
|
2010-02-06 22:27:51 +00:00 |
Benjamin Peterson
|
ffeda29115
|
Merged revisions 77389 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line
Fix casing.
........
r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line
#7653: clarify how the PythonPath registry key should look like.
........
r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
................
|
2010-01-09 18:48:46 +00:00 |
Benjamin Peterson
|
46a9900e09
|
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line
Fix casing.
........
r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line
#7653: clarify how the PythonPath registry key should look like.
........
r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
|
2010-01-09 18:45:30 +00:00 |
Vinay Sajip
|
25fcd22057
|
logging: Improved support for SMTP over TLS.
|
2009-12-06 18:05:04 +00:00 |
Vinay Sajip
|
540f215294
|
logging: Added optional 'secure' parameter to SMTPHandler.
|
2009-12-06 17:57:11 +00:00 |
Vinay Sajip
|
03f6c11f07
|
Issue #7403: Fixed possible race condition in lock creation.
|
2009-11-27 14:03:36 +00:00 |
Benjamin Peterson
|
5554993d37
|
Merged revisions 76498,76507-76509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76498 | vinay.sajip | 2009-11-24 09:53:25 -0600 (Tue, 24 Nov 2009) | 1 line
Made logging classes new-style and added name property to handlers.
........
r76507 | vinay.sajip | 2009-11-25 03:03:30 -0600 (Wed, 25 Nov 2009) | 1 line
Issue #6615: logging: Used weak references in internal handler list. Thanks to flox (Florent Xicluna) for the patch.
........
r76508 | vinay.sajip | 2009-11-25 03:22:47 -0600 (Wed, 25 Nov 2009) | 1 line
logging: made _handlers a WeakValueDictionary.
........
r76509 | vinay.sajip | 2009-11-25 08:12:03 -0600 (Wed, 25 Nov 2009) | 1 line
logging: Issue 6615: Changed handler prepend to append.
........
|
2009-11-25 17:19:56 +00:00 |
Vinay Sajip
|
42ead48dc1
|
Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424.
|
2009-10-21 20:22:14 +00:00 |
Vinay Sajip
|
96d4aa3fca
|
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
|
2009-10-16 14:06:44 +00:00 |
Vinay Sajip
|
cbabd7ec3a
|
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
|
2009-10-10 20:32:36 +00:00 |