160 Commits (cd8efa3704bc1aec1338fdc8fc0cfe8ee5bc100e)

Author SHA1 Message Date
Vinay Sajip d06d5403de Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion. 14 years ago
Vinay Sajip 8cf4eb1463 Issue #16141: replaced old-style exception handling code in logging with the modern idiom. 14 years ago
Vinay Sajip f05090372a Fix added for recent changes in non-threading environments. 14 years ago
Vinay Sajip 0abf61db4d logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion. 14 years ago
Vinay Sajip 2f7b286a8c Revert fix for #13807 mistakenly applied in this branch. 15 years ago
Vinay Sajip a50c284076 Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch. 15 years ago
Vinay Sajip 889bb2969d Closes #13807: Now checks for sys.stderr being there before writing to it. 15 years ago
Gregory P. Smith e85488c6f4 Mention that level can be an int or str in the setLevel docstring. 15 years ago
Florent Xicluna 5252f9faee logging: replace codecs.open with builtins.open, remove '_encoded' sort, add some tests. 15 years ago
Vinay Sajip 3bd5638736 Closes #13361: Raise correct exception type. 15 years ago
Vinay Sajip 61b787e6dd Closes #13661: Check added for type of logger name. 15 years ago
Vinay Sajip 0a889534e7 Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning. 15 years ago
Vinay Sajip 04d5bc00a2 Closes #13235: Added deprecation for warn() methods and function in logging. 15 years ago
Vinay Sajip 2da23caec0 Issue #12780: Removed checks in logging for .pyc/.pyo in __file__. 15 years ago
Vinay Sajip 45dedaafc2 Fixes #12637: Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch." 15 years ago
Vinay Sajip ae5740f139 Made time formats in Formatter more configurable. 15 years ago
Victor Stinner 2a12974bca Close #12028: Make threading._get_ident() public, rename it to 15 years ago
Vinay Sajip 312cc0d28e Updated usage of boolean values. 15 years ago
Vinay Sajip 7fe1d51924 Improved test_logging coverage. 15 years ago
Vinay Sajip 985ef87ea0 More test_logging coverage improvements. 15 years ago
Vinay Sajip 26fe4b70cf test_logging coverage improvements. 15 years ago
Vinay Sajip a3359eec7d Whitespace normalized. 15 years ago
Vinay Sajip 4a0a31df5c Added 'handlers' argument to logging.basicConfig. 15 years ago
Vinay Sajip e6c1eb9267 Closes issue #11557: Added Natalia Bidart's patch to improve test coverage. 15 years ago
Vinay Sajip c8ab6eeb01 Issue #11444: Lock handlers while flushing/closing during shutdown. 15 years ago
Vinay Sajip 399fc14609 Issue #11330: Updated tests for correct asctime handling. 15 years ago
Vinay Sajip 89807a5277 Issue #11330: Updated tests for correct asctime handling. 15 years ago
Vinay Sajip 2a4c0f8b60 Removed typo. 15 years ago
Vinay Sajip f368895780 Removed typo. 15 years ago
Vinay Sajip 10914b7473 Issue #11330: asctime format bug fixed. 15 years ago
Vinay Sajip 859c7fac78 Issue #11330: asctime format bug fixed. 15 years ago
Vinay Sajip 5a27d40186 logging: added handler of last resort. 16 years ago
Vinay Sajip fad058f0ca logging: tidied up some docstrings. 16 years ago
Vinay Sajip 615615291f logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests. 16 years ago
Vinay Sajip 8593ae6451 Logging: added stack_info argument. 16 years ago
Vinay Sajip c5b273011b Added style argument to logging.basicConfig() and documented this change. 16 years ago
Vinay Sajip 6a65c5df86 logging: Improved Formatter implementation. 16 years ago
Vinay Sajip d0557bfe77 logging: Formatter implementation tweak. 16 years ago
Vinay Sajip a39c571061 logging: Added style option to Formatter to allow %, {} or himBHformatting. 16 years ago
Vinay Sajip 2a20dfc2aa logging: Made StreamHandler terminator configurable. 16 years ago
Vinay Sajip fc082cafa6 logging: Documented usage of callables as filters. 16 years ago
Vinay Sajip 6dbed2e8b3 logging: Allowed filters to be just callables. 16 years ago
Vinay Sajip 6fac817136 logging: Added tests for _logRecordClass changes. 16 years ago
Vinay Sajip 062d56b1f0 logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to increase flexibility of LogRecord creation. 16 years ago
Vinay Sajip 1c71b2af1a Issue #9948: logging: fixed problem of losing filename case information. 16 years ago
Vinay Sajip 8382d0fe2e Removed duplicated method. 16 years ago
Vinay Sajip 3ab905f17b Issue #9945: logging: backported locking fixes from py3k. 16 years ago
Vinay Sajip 4fbe4b340a logging: NullHandler optimisation. 16 years ago
Vinay Sajip 32fb6a81f9 Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler. 16 years ago
Vinay Sajip 212b590e11 logging: Updated LoggerAdapter implementation. 16 years ago