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 Marvin Greenberg
Recipients Marvin Greenberg
Date 2015-11-20.19:06:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448046410.18.0.578360319482.issue25685@psf.upfronthosting.co.za>
In-reply-to
Content
In logging.handlers.SocketHandler.makePickle code was added for issue 14436 that replaces the 'msg' in the log record dict with the formatted message.  But if an earlier handler already formatted the message, it will have been added to the log record with key 'message'.  In this case the identical message will be sent across the wire twice in the pickled data.

The patch simply deletes the 'message' entry from the dict.  More involved changes (like reusing record.message instead of calling getMessage) probably not useful.
History
Date User Action Args
2015-11-20 19:06:50Marvin Greenbergsetrecipients: + Marvin Greenberg
2015-11-20 19:06:50Marvin Greenbergsetmessageid: <1448046410.18.0.578360319482.issue25685@psf.upfronthosting.co.za>
2015-11-20 19:06:50Marvin Greenberglinkissue25685 messages
2015-11-20 19:06:49Marvin Greenbergcreate