Commit Graph

143 Commits

Author SHA1 Message Date
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
91290b5f53 Issue #5262: Improved fix. 2009-06-11 09:53:35 +00:00
Vinay Sajip
83da034c9a Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 09:23:41 +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
Kristján Valur Jónsson
84040dbe81 Issue 4336: Let users of HTTPConnection.endheaders() submit a message body to the function if required. 2009-01-09 20:27:16 +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
6a2fd81316 Issue #3726: Allowed spaces in separators in logging configuration files. 2008-09-03 09:20:05 +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
bc7e34f692 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 08:59:06 +00:00
Vinay Sajip
5ff7171ddc Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
2008-06-29 21:25:28 +00:00
Vinay Sajip
5f7b97d987 Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
Thanks to Leandro Lucarella for the patch.
2008-06-19 22:40:17 +00:00