Jesse Noller
|
438195fc11
|
issue 4301: patch logging to add processName, remove the old _check_logger_class code
|
2009-01-18 21:04:36 +00:00 |
|
Benjamin Peterson
|
3e16f3dd7f
|
remove has_key usage
|
2008-12-14 01:46:11 +00:00 |
|
Vinay Sajip
|
6831d6bc7f
|
Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time."
|
2008-12-04 20:32:18 +00:00 |
|
Vinay Sajip
|
213faca204
|
Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
|
2008-12-03 23:22:58 +00:00 |
|
Vinay Sajip
|
65d66e1006
|
Issue #3772: Fixed regression problem in StreamHandler.emit().
|
2008-09-04 07:31:21 +00:00 |
|
Vinay Sajip
|
72ed07843a
|
logging: fixed lack of use of encoding attribute specified on a stream.
|
2008-09-01 14:30:10 +00:00 |
|
Benjamin Peterson
|
a9b2222de4
|
change a few uses of the threading APIs
|
2008-08-18 18:01:43 +00:00 |
|
Brett Cannon
|
e6bfe80b67
|
Remove dict.has_key() and apply() usage from the logging package to silence
warnings when run under -3.
|
2008-08-04 00:09:43 +00:00 |
|
Vinay Sajip
|
8f96b8ec43
|
Bug #3126: StreamHandler and FileHandler check before calling "flush" and "close" that the stream object has these, using hasattr (thanks to bobf for the patch).
|
2008-06-17 11:02:14 +00:00 |
|
Benjamin Peterson
|
0fbcf69455
|
give the threading API PEP 8 names
|
2008-06-11 17:27:50 +00:00 |
|
Raymond Hettinger
|
71fa93af22
|
Add __all__ to logging module.
|
2008-02-16 01:22:54 +00:00 |
|
Vinay Sajip
|
97ef165a1d
|
Added optional delay argument to FileHandler and subclasses.
|
2008-01-24 12:37:08 +00:00 |
|
Vinay Sajip
|
a26c73ed55
|
Added LoggerAdapter class, changed copyright dates, made check for extra parameter passed to logging methods explicitly against None rather than a truth value.
|
2008-01-18 15:55:57 +00:00 |
|
Vinay Sajip
|
c537881caa
|
Change to LogRecord.__init__() to fix #1206. Note that archaic use of type(x) == types.DictType is because of keeping 1.5.2 compatibility. While this is much less relevant these days, there probably needs to be a separate commit for removing all archaic constructs at the same time.
|
2007-09-27 07:35:10 +00:00 |
|
Vinay Sajip
|
66ba9ffcb1
|
Minor date change.
|
2007-09-27 06:56:13 +00:00 |
|
Vinay Sajip
|
90d93615d6
|
Change to basicConfig() to fix #1021.
|
2007-09-27 05:38:51 +00:00 |
|
Vinay Sajip
|
4df367c08d
|
Change to flush and close logic to fix #1760556.
|
2007-09-27 05:34:45 +00:00 |
|
Georg Brandl
|
daa6f254c6
|
Patch #1779550: remove redundant code in logging.
|
2007-08-23 21:55:57 +00:00 |
|
Georg Brandl
|
75ec1dbd9d
|
Bug #1737864: allow empty message in logging format routines.
|
2007-06-19 12:36:00 +00:00 |
|
Vinay Sajip
|
f7ccc101d2
|
Minor fix for currentframe (SF #1652788).
|
2007-02-16 22:36:24 +00:00 |
|
Vinay Sajip
|
1211edd81b
|
Added a docstring
|
2007-01-09 14:54:56 +00:00 |
|
Vinay Sajip
|
825b75a053
|
Bug #1627575: Added _open() method to FileHandler which can be used to reopen files. The FileHandler instance now saves the encoding (which can be None) in an attribute called "encoding".
|
2007-01-09 14:50:28 +00:00 |
|
Vinay Sajip
|
2cd79f6b78
|
Bare except clause removed from LogRecord.__init__. Now, only ValueError, TypeError and AttributeError are trapped.
(SF #411881)
|
2007-01-08 18:51:46 +00:00 |
|
Vinay Sajip
|
ef7f3bf3b3
|
Change to improve speed of _fixupChildren
|
2006-10-31 17:32:37 +00:00 |
|
Vinay Sajip
|
2c050af28b
|
Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).
|
2006-10-03 18:21:56 +00:00 |
|