Commit Graph

212 Commits

Author SHA1 Message Date
Vinay Sajip ee145ecc5f Issue #11444: Merge fix from 2.6. 2011-03-08 22:47:18 +00:00
Vinay Sajip f4d0af460a Issue #11444: Lock handlers while flushing/closing during shutdown. 2011-03-08 22:39:55 +00:00
Vinay Sajip 44b740ff28 #Issue 11424: merged fix from 2.6. 2011-03-07 15:07:58 +00:00
Vinay Sajip 8dd2a40bc7 Issue #11424: Fix bug in determining child loggers. 2011-03-07 15:02:11 +00:00
Vinay Sajip cdb8388cad Issue #10949: Improved robustness of rotating file handlers. 2011-01-21 23:35:57 +00:00
Brian Curtin e27731d0bf 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:44:04 +00:00
Vinay Sajip 5e8349e5cc Issue #9948: logging: fixed problem of losing filename case information. 2010-10-10 20:36:04 +00:00
Vinay Sajip 639f0e24de logging: NullHandler optimisation. 2010-09-26 11:04:10 +00:00
Vinay Sajip 3eac591a5c Issue #9947: logging: Fixed locking bug in stopListening. 2010-09-25 17:48:25 +00:00
Vinay Sajip 546885ea4e Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler. 2010-09-25 17:42:36 +00:00
Vinay Sajip 1ab32f6ebe logging: Added threading interlock in basicConfig(). 2010-09-11 09:06:21 +00:00
Vinay Sajip e900b494cb Issue #7077: Backported fix from py3k. 2010-09-03 09:06:07 +00:00
Vinay Sajip 1ddd51fc71 Issue #9501: Fixed logging regressions in cleanup code. 2010-08-23 17:50:30 +00:00
Vinay Sajip e8b1eafd88 Issue #9512: Made comment more informative. 2010-08-22 18:11:02 +00:00
Senthil Kumaran a5ba05cd31 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:18:04 +00:00
Vinay Sajip 8a435c4729 Fixed #9310: backported logging fix from 2.7. 2010-07-20 20:18:14 +00:00
Vinay Sajip f753d33665 Issue #8924: logging: Improved error handling for Unicode in exception text. 2010-06-11 22:56:50 +00:00
Vinay Sajip 936efc791a Issue #8924: logging: Improved error handling for Unicode in exception text. 2010-06-11 22:56:50 +00:00
Vinay Sajip 3b4849a21d Logging: improved error reporting for BaseConfigurator.resolve(). 2010-06-02 10:05:31 +00:00
Vinay Sajip cb7ea2912a Issue #8795: logging: Backported trunk fix for SysLogHandler and Unicode. 2010-05-24 09:43:13 +00:00
Vinay Sajip c7cbb9b509 Issue #8581: logging: removed errors raised when closing handlers twice. 2010-05-03 15:39:57 +00:00
Vinay Sajip 27a1370ae0 Issue #8576: logging updated to remove usage of find_unused_port(). 2010-05-03 15:11:53 +00:00
Vinay Sajip b0623d64a8 logging: Added LOG_FTP for SysLogHandler and updated documentation. 2010-03-24 14:31:21 +00:00
Vinay Sajip 804899b4ab logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter. 2010-03-22 15:29:01 +00:00
Vinay Sajip 31e928eb3c Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time. 2010-03-22 13:02:28 +00:00
Vinay Sajip 3017a7bbbf Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs. 2010-03-22 12:33:08 +00:00
Georg Brandl b6453a902e Merged revisions 77120,77151,77155,77209,77229,77256,77317,77331,77333,77359-77360,77382,77561,77570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77120 | georg.brandl | 2009-12-29 22:09:17 +0100 (Di, 29 Dez 2009) | 1 line

  #7595: fix typo in argument default constant.
........
  r77151 | georg.brandl | 2009-12-30 19:32:50 +0100 (Mi, 30 Dez 2009) | 1 line

  #7487: update Pygments version.
........
  r77155 | georg.brandl | 2009-12-30 20:03:00 +0100 (Mi, 30 Dez 2009) | 1 line

  We only support Windows NT derivatives now.
........
  r77209 | georg.brandl | 2010-01-01 14:07:05 +0100 (Fr, 01 Jan 2010) | 1 line

  More yearly updates.
........
  r77229 | georg.brandl | 2010-01-02 13:35:01 +0100 (Sa, 02 Jan 2010) | 1 line

  Fix casing.
........
  r77256 | georg.brandl | 2010-01-02 23:55:55 +0100 (Sa, 02 Jan 2010) | 1 line

  Fix typo.
........
  r77317 | georg.brandl | 2010-01-05 19:14:52 +0100 (Di, 05 Jan 2010) | 1 line

  Add Stefan.
........
  r77331 | georg.brandl | 2010-01-06 18:43:06 +0100 (Mi, 06 Jan 2010) | 1 line

  Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
........
  r77333 | georg.brandl | 2010-01-06 19:26:08 +0100 (Mi, 06 Jan 2010) | 1 line

  #5950: document that zip files with comments are unsupported in zipimport.
........
  r77359 | georg.brandl | 2010-01-07 21:54:45 +0100 (Do, 07 Jan 2010) | 1 line

  Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
  r77360 | georg.brandl | 2010-01-07 22:48:47 +0100 (Do, 07 Jan 2010) | 1 line

  #7653: clarify how the PythonPath registry key should look like.
........
  r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line

  #7422: make it clear that getargspec() only works on Python functions.
........
  r77561 | georg.brandl | 2010-01-17 09:42:30 +0100 (So, 17 Jan 2010) | 1 line

  #7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such.
........
  r77570 | georg.brandl | 2010-01-17 13:14:42 +0100 (So, 17 Jan 2010) | 1 line

  Add note about usage of STRINGLIB_EMPTY.
........
2010-03-21 19:16:28 +00:00
Vinay Sajip 2060e42206 Issue #8162: logging: Clarified docstring and documentation for disable function. 2010-03-17 15:05:57 +00:00
Vinay Sajip 9098ee4360 Issue #8117: logging: Improved algorithm for computing initial rollover time. 2010-03-12 06:01:21 +00:00
Vinay Sajip 1adbee226e Added checks for tuples in dictConfig. 2010-03-06 15:56:03 +00:00
Vinay Sajip d45a278b93 Added schema version test in dictConfig. 2010-03-06 15:12:08 +00:00
Vinay Sajip d77eb9a839 Factored out time usage determination into a method, to facilitate alternative formatting implementations in the future. 2010-03-05 22:11:24 +00:00
Vinay Sajip cfc43e9435 logging: gingerly re-enabling skipped tests after improving thread sync code in configurator. 2010-02-08 21:18:15 +00:00
Vinay Sajip 7ce5c831cc logging: Removed some more 1.5.2 support code. 2010-02-07 13:06:51 +00:00
Vinay Sajip 64e8b970f9 Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code. 2010-02-07 12:56:54 +00:00
Vinay Sajip 657514a690 Issue #7868: logging: added loggerClass attribute to Manager. 2010-02-07 01:37:08 +00:00
Benjamin Peterson 239f138aea make waiting for the server to start robust 2010-02-06 22:08:15 +00:00
Vinay Sajip 98ce620068 Removed spurious print statement. 2010-02-04 20:18:28 +00:00
Vinay Sajip 28c382f73a Logging: Implemented PEP 391. 2010-02-04 18:48:53 +00:00
Georg Brandl 8cdc9bc901 More yearly updates. 2010-01-01 13:07:05 +00:00
Vinay Sajip 5cc4e2a040 Issue #7470: logging: fix bug in Unicode encoding fallback. 2009-12-11 09:16:01 +00:00
Vinay Sajip bd1094a4a5 logging: Improved support for SMTP over TLS. 2009-12-06 18:05:04 +00:00
Vinay Sajip 4830566751 logging: Added optional 'secure' parameter to SMTPHandler. 2009-12-06 17:57:11 +00:00
Vinay Sajip e9c5a0410e Issue #7403: Fixed possible race condition in lock creation. 2009-11-27 14:03:36 +00:00
Vinay Sajip 01801d1f08 Issue #7403: Fixed possible race condition in lock creation. 2009-11-27 14:03:36 +00:00
Vinay Sajip 2ed8813f22 logging: Issue 6615: Changed handler prepend to append. 2009-11-25 14:12:03 +00:00
Vinay Sajip 17e94e052f logging: made _handlers a WeakValueDictionary. 2009-11-25 09:22:47 +00:00
Vinay Sajip c470d68d39 Issue #6615: logging: Used weak references in internal handler list. Thanks to flox (Florent Xicluna) for the patch. 2009-11-25 09:03:30 +00:00
Vinay Sajip 1d2c16db7e Made logging classes new-style and added name property to handlers. 2009-11-24 15:53:25 +00:00
Vinay Sajip 5ac6528b91 Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424. 2009-10-21 20:22:14 +00:00