This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Miksus
Recipients Miksus
Date 2021-08-16.10:19:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
And the reason why overriding attribute 'record.msg' with the formatted message is problematic is that the method 'record.getMessage' (which is used by Formatter) fetches the log message from the variable 'record.msg'. Therefore the exc_text needs to be set to None as Formatter checks the existence of this attribute to decide whether or not to format the exception. Otherwise the exception text may be formatted multiple of time.

I think it may be more correct solution to not override the record.msg and let the other formatters down the queue reformat the message if required.
Date User Action Args
2021-08-16 10:19:15Miksussetrecipients: + Miksus
2021-08-16 10:19:15Miksussetmessageid: <>
2021-08-16 10:19:15Miksuslinkissue44924 messages
2021-08-16 10:19:15Miksuscreate