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 mdt
Recipients mdt
Date 2013-08-06.15:57:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375804669.84.0.0477385788117.issue18671@psf.upfronthosting.co.za>
In-reply-to
Content
in logging/__init__.py line 328 there is a simple line:

     msg = msg % self.args

if that line fails this failure will be logged, not the line itself. i suggest to change the line to something like:

    try: msg = msg % self.args
    except TypeError: msg = 'logging formatting error with "%s" %% %s' % (
        msg, self.args, )

to be able to pinpoint the actual wrong formatting string (the stack trace doesnt help here).
History
Date User Action Args
2013-08-06 15:57:49mdtsetrecipients: + mdt
2013-08-06 15:57:49mdtsetmessageid: <1375804669.84.0.0477385788117.issue18671@psf.upfronthosting.co.za>
2013-08-06 15:57:49mdtlinkissue18671 messages
2013-08-06 15:57:49mdtcreate