bpo-32732 Extra kwargs of log() are ignored by LoggerAdapter by mcoolive · Pull Request #5463 · python/cpython

@mcoolive mcoolive changed the title Extra kwargs of log() are ignored by LoggerAdapter Extra kwargs of log() are ignored by LoggerAdapter #32732

Jan 31, 2018

@mcoolive mcoolive changed the title Extra kwargs of log() are ignored by LoggerAdapter #32732 bpo-32732 Extra kwargs of log() are ignored by LoggerAdapter

Jan 31, 2018
- extra kwargs given to Logger#log are ignored when we configure
a LoggerAdapter (same for: debug, info, warning etc).
- LoggerAdapter processes only extra kwargs given during its __init__
- I expect extras are merged

Signed-off-by: Cyril Martin <c.martin@criteo.com>

matrixise

@mcoolive mcoolive mannequin mentioned this pull request

Aug 24, 2022