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 palaviv
Recipients palaviv, vinay.sajip
Date 2016-01-09.14:12:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452348721.62.0.0659441609169.issue26061@psf.upfronthosting.co.za>
In-reply-to
Content
The logging LogRecord factory receives kwargs. However because _log and makeRecord functions in the Logger class don't support kwargs we can't actually pass additional positional arguments to LogRecord.

A use case for this is attached.

I had made a patch to fix this by changing _log and makeRecord to accept kwargs and pass them.
History
Date User Action Args
2016-01-09 14:12:01palavivsetrecipients: + palaviv, vinay.sajip
2016-01-09 14:12:01palavivsetmessageid: <1452348721.62.0.0659441609169.issue26061@psf.upfronthosting.co.za>
2016-01-09 14:12:01palavivlinkissue26061 messages
2016-01-09 14:12:01palavivcreate