[New-bugs-announce] [issue32732] LoggingAdapter ignores extra kwargs of Logger#log()

Cyril Martin report at bugs.python.org
Wed Jan 31 13:26:15 EST 2018


New submission from Cyril Martin <mcoolive at gmail.com>:

- LoggerAdapter processes only extra kwargs given during its __init__
So extra kwargs, given to Logger#log are ignored when we configure a LoggerAdapter (same for: debug, info, warning etc).
- I expect extras are merged. More precisely, I expect local extra override the ones given in __init__

----------
components: Library (Lib)
messages: 311353
nosy: mcoolive
priority: normal
pull_requests: 5289
severity: normal
status: open
title: LoggingAdapter ignores extra kwargs of Logger#log()
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32732>
_______________________________________


More information about the New-bugs-announce mailing list