Commit graph

244 commits

Author SHA1 Message Date
Vinay Sajip
61b787e6dd Closes #13661: Check added for type of logger name. 2011-11-07 08:53:03 +00: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
ae5740f139 Made time formats in Formatter more configurable. 2011-06-09 18:42:19 +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
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
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
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
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
10914b7473 Issue #11330: asctime format bug fixed. 2011-02-26 14:15:48 +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
Vinay Sajip
c5b273011b Added style argument to logging.basicConfig() and documented this change. 2010-10-31 14:59:16 +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
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
32fb6a81f9 Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler. 2010-09-25 17:42:36 +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
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
dc5097ff07 Removed _unicode variable which is always False in Python 3.x. 2010-08-31 07:52:17 +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
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