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 Jonas.Diemer
Recipients Jonas.Diemer, r.david.murray, vinay.sajip
Date 2014-07-03.13:26:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404393971.73.0.971852119784.issue21912@psf.upfronthosting.co.za>
In-reply-to
Content
I see your point. 

The decision whether to log or not is actually made synchronously to the actual logging call, as far as I can tell (i.e. "if self.isEnabledFor..." is checked directly in debug()). So at this place, the formatting could already happen.
I don't see a reason to defer the formatting to the actual output of the messages (other than the current implementation of logging).
History
Date User Action Args
2014-07-03 13:26:11Jonas.Diemersetrecipients: + Jonas.Diemer, vinay.sajip, r.david.murray
2014-07-03 13:26:11Jonas.Diemersetmessageid: <1404393971.73.0.971852119784.issue21912@psf.upfronthosting.co.za>
2014-07-03 13:26:11Jonas.Diemerlinkissue21912 messages
2014-07-03 13:26:11Jonas.Diemercreate