• Łukasz Langa's avatar
    bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (#4044) · ce9e6254
    Łukasz Langa authored
    This used to be the case on Python 2.  Commit
    212b590e 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.
    ce9e6254
2017-10-18-19-05-17.bpo-31457.KlE6r8.rst 88 Bytes