Message323316
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. |
|
Date |
User |
Action |
Args |
2018-08-09 06:21:13 | vinay.sajip | set | recipients:
+ vinay.sajip, cool-RR |
2018-08-09 06:21:13 | vinay.sajip | set | messageid: <1533795673.29.0.56676864532.issue29036@psf.upfronthosting.co.za> |
2018-08-09 06:21:13 | vinay.sajip | link | issue29036 messages |
2018-08-09 06:21:13 | vinay.sajip | create | |
|