LogRecord construction: Why is extra not passed?

Hmm, not sure if you deleted my final reply or the system is about to duplicate it.

I did not describe a system that dynamically and continuously reconfigures loggers.

Rather, I described a system that is itself configurable with respect to logging (i.e., on that uses the Logging system’s configuration capabilities).

Many mainstream systems create leaf loggers on the basis of context (e.g., request handlers in an RPC environement) so that specific customer logs are grouped and segregated.

Meanwhile the handlers attached closer to the top of the logging tree may be configured based on the environment (production, testing etc).

So, please don’t be dismissive of such a simple change that has so much utility; particulary when it’s likely to be a 2-3 line change with very small error surface.

All the best.