dturecek / copr / copr

Forked from copr/copr 6 years ago
Clone

a3e3981 backend: don't modify logger record in handler

Authored and Committed by praiskup 3 years ago
    backend: don't modify logger record in handler
    
    This is a bit unexpected Python behavior, but any change to the log
    record in one log handler affects also later called handlers.  Since we
    need to modify the log record before we emit it, let's copy it and
    modify only the local copy.