Hello everyone,
After reviewing the handler logic, I am not clear that it implements logging
within the pattern guidelines defined by the base logging implementation.
In
log.py#L103, the level and existence of at least one handler are checked.
I only have a handler added to a root logger that I don't control, and we rely
on ancestral propagation.
The concern I have is due to any IO emitted to the console streams breaks
the calling code that I don't control. With this pattern, I have to preemptively
add null handlers to every logger, and if I miss one and it manifests in production,
I'll have a problem.
Anyone have any thoughts around this?
Thanks,
jlc