[issue44222] Improving _removeHandlerRef for a very long _handlerList

Vinay Sajip report at bugs.python.org
Mon May 24 06:46:42 EDT 2021


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

Seems a bit of a pathological case - out of interest, why do you need to create tens of thousands of loggers and handlers? Each logger is supposed to represent an area of the application. If you want to track e.g. client IP requests or similar, there are better ways. Ditto, each handler is supposed to represent a different audience for logs. Does your application have tens of thousands of distinct modules and/or audiences for logs?

----------
nosy: +vinay.sajip

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


More information about the Python-bugs-list mailing list