[issue29036] logging module: Add `full_module_name` to LogRecord details

Ram Rachum report at bugs.python.org
Thu Aug 9 01:08:33 EDT 2018


Ram Rachum <ram at rachum.com> added the comment:

Hi Vinay,

Since it's been a couple of years since I opened this ticket, I can't tell you the case in which I wanted to know the full module name of a logger. But it's probably been a logger from a third-party library. Since I can't force a third-party library that doesn't use the `__name__` convention to use it, having an attribute with the full module name would be my only solution to getting that information.

----------

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


More information about the Python-bugs-list mailing list