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 fviard
Recipients fviard, r.david.murray, vinay.sajip
Date 2015-11-19.15:21:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447946496.73.0.927988575247.issue25668@psf.upfronthosting.co.za>
In-reply-to
Content
I understand that it should have been the reason of this.

But in my opinion, it is very bad to possibly have calculations and user space arbitrary operations inside the logging lock.

If you look at my proposition, you can do the format after the filter, but just before acquiring the lock. As most handlers start by calling the self.format() soon in the "emit()", I don't expect a big difference.

I'm not entirely sure that it is a good solution, but I think that the issue is pretty bad.
History
Date User Action Args
2015-11-19 15:21:36fviardsetrecipients: + fviard, vinay.sajip, r.david.murray
2015-11-19 15:21:36fviardsetmessageid: <1447946496.73.0.927988575247.issue25668@psf.upfronthosting.co.za>
2015-11-19 15:21:36fviardlinkissue25668 messages
2015-11-19 15:21:36fviardcreate