Commit Graph

241 Commits

Author SHA1 Message Date
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