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
|
3017a7bbbf
|
Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
|
2010-03-22 12:33:08 +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
|
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
|
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 |
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
|
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
|
03d5c346c0
|
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
|
2009-10-16 14:06:44 +00:00 |
Vinay Sajip
|
1c77b7f84c
|
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
|
2009-10-10 20:32:36 +00:00 |
Vinay Sajip
|
f70867aabc
|
Issue #7014: logging: Improved IronPython 2.6 compatibility.
|
2009-09-29 07:08:54 +00:00 |
Vinay Sajip
|
4780c9a0e0
|
Tidied up name of parameter in StreamHandler
|
2009-09-26 14:53:32 +00:00 |
Vinay Sajip
|
cbb24b35a0
|
Issue #6314: logging: Extra checks on the "level" argument in more places.
|
2009-07-13 11:21:05 +00:00 |
Vinay Sajip
|
603fb6d667
|
Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
|
2009-06-21 17:37:27 +00:00 |
Vinay Sajip
|
f9b01fe692
|
Issue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying to print a traceback.
|
2009-05-09 12:07:17 +00:00 |
Vinay Sajip
|
e34d6aa86f
|
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
|
2009-04-27 13:44:27 +00:00 |
Vinay Sajip
|
cbb5308723
|
Issue #5170: Fixed regression caused when fixing #5768.
|
2009-04-22 12:10:47 +00:00 |
Vinay Sajip
|
74f045088d
|
Issue #5768: Change to Unicode output logic and test case for same.
|
2009-04-16 19:07:37 +00:00 |
Vinay Sajip
|
1a0d2befea
|
#5287: Add exception handling around findCaller() call to help out IronPython.
|
2009-02-19 12:31:32 +00:00 |
Vinay Sajip
|
b20af944d2
|
Issue #5170: Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5.
|
2009-02-08 19:06:08 +00:00 |
Vinay Sajip
|
aecf36a0b5
|
Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.
|
2009-01-20 23:16:08 +00:00 |
Vinay Sajip
|
5fb11b2b85
|
Issue 5013: Fixed bug in FileHandler when delay was set.
|
2009-01-20 22:43:17 +00:00 |
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 |