Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
The full module name isn't readily available. The value that sets the LogRecord's pathname attribute [which is obtained from the Python code object for the caller] is used to derive the filename attribute (by taking the basename of the pathname) and the filename is used to determine the module attribute (by just dropping the extension from the filename). So if you really need the modulename, you would have to derive it from the pathname. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29036> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com