Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters ↵ | Miss Islington (bot) | 2017-10-19 | 1 | -1/+5 |
| | | | | | | | | | | | | | | (GH-4044) (GH-4050) This used to be the case on Python 2. Commit 212b590e118e3650b596917021ed9612a918180b changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added. (cherry picked from commit ce9e62544571e7ade7186697d5dd065fb4c5243f) | ||||
* | [3.6] bpo-31457: Make the `LoggerAdapter.manager` property settable ↵ | Miss Islington (bot) | 2017-10-19 | 1 | -1/+1 |
| | | | | | | | (GH-4042) (#4043) Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed. (cherry picked from commit 0b6a118a45ac2eded1348fea6ed300d5651f7471) | ||||
* | [3.6] bpo-31457: Allow for nested LoggerAdapter objects (GH-3551) (#3576) | Miss Islington (bot) | 2017-09-14 | 1 | -0/+21 |
| | | | | | | | Some of the proxied methods use internal Logger state which isn't proxied, causing failures if an adapter is applied to another adapter. This commit fixes the issue, adds a new test for the use case. (cherry picked from commit 1bbd482bcf6ea36bfe488f868810ffe110238ae1) | ||||
* | Issue #292Merged fixes from 3.5. | Vinay Sajip | 2017-01-11 | 1 | -3/+8 |
|\ | |||||
| * | Issue #29220: Improved fix and test. | Vinay Sajip | 2017-01-11 | 1 | -3/+8 |
| | | |||||
| * | Fixes #27937: optimise code used in all logging calls. | Vinay Sajip | 2016-09-03 | 1 | -4/+5 |
| | | |||||
* | | Closes #27935: returned numeric value for 'FATAL' logging level. | Vinay Sajip | 2016-09-03 | 1 | -0/+1 |
| | | |||||
* | | Fixes #27937: optimise code used in all logging calls. | Vinay Sajip | 2016-09-03 | 1 | -2/+3 |
| | | |||||
* | | Closes #27650: Implemented repr methods for logging objects. | Vinay Sajip | 2016-08-06 | 1 | -0/+27 |
| | | |||||
* | | Closes #27493: accepted Path objects in file handlers for logging. | Vinay Sajip | 2016-07-22 | 1 | -2/+4 |
| | | |||||
* | | merge with 3.5 | Georg Brandl | 2016-02-25 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak. | Georg Brandl | 2016-02-25 | 1 | -2/+2 |
| | | |||||
* | | Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej | Martin Panter | 2015-11-14 | 1 | -2/+3 |
|/ | |||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -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 more | Serhiy Storchaka | 2015-04-10 | 1 | -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 Sajip | 2015-03-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23207: Improved kwarg validation. | Vinay Sajip | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | Closes #23207: logging.basicConfig() now does additional validation of its ↵ | Vinay Sajip | 2015-01-23 | 1 | -8/+11 |
|\ \ | |/ | | | | | arguments. | ||||
| * | Issue #23207: logging.basicConfig() now does additional validation of its ↵ | Vinay Sajip | 2015-01-23 | 1 | -8/+11 |
| | | | | | | | | arguments. | ||||
* | | Closes #21980: Added a __repr__ for LogRecord. | Vinay Sajip | 2015-01-06 | 1 | -2/+4 |
| | | |||||
* | | Closes #23151: Removed unnecessary initialization. | Vinay Sajip | 2015-01-06 | 1 | -2/+0 |
| | | |||||
* | | Closes #20537: logging methods now accept an exception instance as well as a ↵ | Vinay Sajip | 2014-09-14 | 1 | -10/+9 |
|/ | | | | Boolean value or exception tuple. Thanks to Yury Selivanov for the patch. | ||||
* | Issue #22386: fixed regression. | Vinay Sajip | 2014-09-11 | 1 | -1/+2 |
| | |||||
* | Issue #21709: Improved implementation to cover the frozen module case. | Vinay Sajip | 2014-06-12 | 1 | -28/+34 |
| | |||||
* | Issue #21709: Remove references to __file__ when part of a frozen application. | Vinay Sajip | 2014-06-11 | 1 | -2/+2 |
| | |||||
* | Issue #21172: isinstance check relaxed from dict to collections.Mapping. | Vinay Sajip | 2014-04-10 | 1 | -2/+9 |
| | |||||
* | Issue #21149: Improved thread-safety in logging cleanup during interpreter ↵ | Vinay Sajip | 2014-04-04 | 1 | -8/+9 |
| | | | | shutdown. | ||||
* | Closes #20918: Added handling for exceptions during fallback output of ↵ | Vinay Sajip | 2014-03-14 | 1 | -4/+12 |
| | | | | logging exceptions. | ||||
* | Closes #20242: Merged fix from 3.3. | Vinay Sajip | 2014-01-13 | 1 | -7/+10 |
|\ | |||||
| * | Issue #20242: Fixed basicConfig() format strings for the alternative ↵ | Vinay Sajip | 2014-01-13 | 1 | -7/+10 |
| | | | | | | | | formatting styles. | ||||
* | | Closes #19523: Merged fix from 3.3. | Vinay Sajip | 2013-11-15 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #19523: Closed FileHandler leak which occurred when delay was set. | Vinay Sajip | 2013-11-15 | 1 | -1/+3 |
| | | |||||
* | | Closes #18941: Merged fix from 3.3. | Vinay Sajip | 2013-09-06 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #18941: Respected delay when doing rollover. | Vinay Sajip | 2013-09-06 | 1 | -2/+3 |
| | | |||||
* | | Closes #18671: Output more information when logging exceptions occur. | Vinay Sajip | 2013-08-08 | 1 | -0/+3 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Closes #18046: Simplified logging internals relating to levels and their ↵ | Vinay Sajip | 2013-05-25 | 1 | -19/+21 |
| | | | | | | | | names. Thanks to Alex Gaynor for the patch. | ||||
* | | Issue #9501: Merged fix from 3.3. | Vinay Sajip | 2013-01-15 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #9501: Merged fix from 3.2. | Vinay Sajip | 2013-01-15 | 1 | -1/+2 |
| |\ | |||||
| | * | Issue #9501: Improved shutdown handling to deal with module attributes ↵ | Vinay Sajip | 2013-01-15 | 1 | -1/+2 |
| | | | | | | | | | | | | correctly. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | Closes #16521: Improved error handling for basicConfig(), added tests for same. | Vinay Sajip | 2012-11-25 | 1 | -7/+10 |
| | | | |||||
* | | | Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine ↵ | Vinay Sajip | 2012-10-31 | 1 | -6/+17 |
| | | | | | | | | | | | | Pitrou for the suggestion. | ||||
* | | | Issue #16141: replaced old-style exception handling code in logging with the ↵ | Vinay Sajip | 2012-10-09 | 1 | -5/+3 |
|/ / | | | | | | | modern idiom. | ||||
* | | Merged fix added for recent changes in non-threading environments. | Vinay Sajip | 2012-02-23 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Fix added for recent changes in non-threading environments. | Vinay Sajip | 2012-02-23 | 1 | -2/+8 |
| | |