summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29220: Improved fix and test.Vinay Sajip2017-01-111-3/+8
|
* Fixes #27937: optimise code used in all logging calls.Vinay Sajip2016-09-031-4/+5
|
* Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.Georg Brandl2016-02-251-2/+2
|
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-8/+13
|\ | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-8/+13
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | Issue #23207: merged fix from 3.4.Vinay Sajip2015-03-181-1/+1
|\ \ | |/
| * Issue #23207: Improved kwarg validation.Vinay Sajip2015-03-181-1/+1
| |
* | Closes #23207: logging.basicConfig() now does additional validation of its ↵Vinay Sajip2015-01-231-8/+11
|\ \ | |/ | | | | arguments.
| * Issue #23207: logging.basicConfig() now does additional validation of its ↵Vinay Sajip2015-01-231-8/+11
| | | | | | | | arguments.
* | Closes #21980: Added a __repr__ for LogRecord.Vinay Sajip2015-01-061-2/+4
| |
* | Closes #23151: Removed unnecessary initialization.Vinay Sajip2015-01-061-2/+0
| |
* | Closes #20537: logging methods now accept an exception instance as well as a ↵Vinay Sajip2014-09-141-10/+9
|/ | | | Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.
* Issue #22386: fixed regression.Vinay Sajip2014-09-111-1/+2
|
* Issue #21709: Improved implementation to cover the frozen module case.Vinay Sajip2014-06-121-28/+34
|
* Issue #21709: Remove references to __file__ when part of a frozen application.Vinay Sajip2014-06-111-2/+2
|
* Issue #21172: isinstance check relaxed from dict to collections.Mapping.Vinay Sajip2014-04-101-2/+9
|
* Issue #21149: Improved thread-safety in logging cleanup during interpreter ↵Vinay Sajip2014-04-041-8/+9
| | | | shutdown.
* Closes #20918: Added handling for exceptions during fallback output of ↵Vinay Sajip2014-03-141-4/+12
| | | | logging exceptions.
* Closes #20242: Merged fix from 3.3.Vinay Sajip2014-01-131-7/+10
|\
| * Issue #20242: Fixed basicConfig() format strings for the alternative ↵Vinay Sajip2014-01-131-7/+10
| | | | | | | | formatting styles.
* | Closes #19523: Merged fix from 3.3.Vinay Sajip2013-11-151-1/+3
|\ \ | |/
| * Issue #19523: Closed FileHandler leak which occurred when delay was set.Vinay Sajip2013-11-151-1/+3
| |
* | Closes #18941: Merged fix from 3.3.Vinay Sajip2013-09-061-2/+3
|\ \ | |/
| * Issue #18941: Respected delay when doing rollover.Vinay Sajip2013-09-061-2/+3
| |
* | Closes #18671: Output more information when logging exceptions occur.Vinay Sajip2013-08-081-0/+3
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | ModuleNotFoundError.
* | Closes #18046: Simplified logging internals relating to levels and their ↵Vinay Sajip2013-05-251-19/+21
| | | | | | | | names. Thanks to Alex Gaynor for the patch.
* | Issue #9501: Merged fix from 3.3.Vinay Sajip2013-01-151-1/+2
|\ \ | |/
| * Issue #9501: Merged fix from 3.2.Vinay Sajip2013-01-151-1/+2
| |\
| | * Issue #9501: Improved shutdown handling to deal with module attributes ↵Vinay Sajip2013-01-151-1/+2
| | | | | | | | | | | | correctly.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-2/+2
| | |
* | | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
|\ \ \ | |/ / | | | | | | Patch by Serhiy Storchaka.
| * | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| |\ \ | | |/ | | | | | | Patch by Serhiy Storchaka.
| | * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
| | * Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-251-7/+10
| | |
* | | Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine ↵Vinay Sajip2012-10-311-6/+17
| | | | | | | | | | | | Pitrou for the suggestion.
* | | Issue #16141: replaced old-style exception handling code in logging with the ↵Vinay Sajip2012-10-091-5/+3
|/ / | | | | | | modern idiom.
* | Merged fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-2/+8
|\ \ | |/
| * Fix added for recent changes in non-threading environments.Vinay Sajip2012-02-231-2/+8
| |
* | Merged logging flush/close changes from 3.2.Vinay Sajip2012-02-231-10/+12
|\ \ | |/
| * logging: Added locking in flush() and close() handler methods. Thanks to ↵Vinay Sajip2012-02-231-11/+13
| | | | | | | | Fayaz Yusuf Khan for the suggestion.
* | Closes #13859: Merged fix from 3.2 - thanks to Matt Joiner for spotting this ↵Vinay Sajip2012-01-251-2/+2
|\ \ | |/ | | | | and the patch.
| * Closes #13859: Replaced reference to StandardError with reference to ↵Vinay Sajip2012-01-251-1/+1
| | | | | | | | Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
* | Closes #13807: Merged fix from 3.2.Vinay Sajip2012-01-201-1/+1
|\ \ | |/
| * Closes #13807: Merged fix from 3.1.Vinay Sajip2012-01-201-1/+1
| |\
| | * Closes #13807: Now checks for sys.stderr being there before writing to it.Vinay Sajip2012-01-201-1/+1
| | |
* | | Mention that level can be an int or str in the setLevel docstring.Gregory P. Smith2011-12-171-2/+2
| | |
* | | logging: replace codecs.open with builtins.open, remove '_encoded' sort, add ↵Florent Xicluna2011-11-071-12/+1
| | | | | | | | | | | | some tests.
* | | Closes #13361: Merge fix from 3.2.Vinay Sajip2011-11-071-1/+1
|\ \ \ | |/ /