Commit 26c289d
This used to be the case on Python 2. Commit
212b590 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 ce9e625)
Co-authored-by: Łukasz Langa <[email protected]>
1 parent 5c0a8bb commit 26c289d
File tree
1 file changed
+2
-0
lines changed- Misc/NEWS.d/next/Library
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments