bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (GH-4044) (#6568)
This used to be the case on Python 2. Commit212b590e11
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 commitce9e625445
) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
5c0a8bb1c2
commit
26c289dd76
|
@ -0,0 +1,2 @@
|
|||
If nested log adapters are used, the inner ``process()`` methods are no
|
||||
longer omitted.
|
Loading…
Reference in New Issue