Vinay Sajip added the comment:
Those signatures have **kwargs for potential extension of the logging API
itself (without extending the existing argument list), not for passing
arguments to filters.
You can already filter completely flexibly by passing additional values in the
"extra" parameter, which writes those to the LogRecord. This can be inspected
by filters in the same way as you propose, so there seems no reason to provide
another way of doing this.
N.B. Removed larry from the nosy list, as he was apparently added by accident
when the "Argument Clinic" component was selected in error.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list