Author vinay.sajip
Recipients
Date 2006-06-23.14:56:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=308438

Hi Boris,

You didn't say in your comment what was wrong with my 
suggestion (setting record.exc_text to None in your 
formatter subclass).

I take your point, and understand your labeledCache 
suggestion, and will look at implementing something 
equivalent when time permits. However, other scenarios need 
to be considered, such as sending LogRecords over the wire. 
In this scenario (not uncommon in multi-process 
environments), the present implementation could send the 
formatted stack trace, as it is pickled in the LogRecord; 
implementing a cache in the Formatter will not allow the 
stack trace to be sent to be logged elsewhwere.

History
Date User Action Args
2007-08-23 14:40:26adminlinkissue1501699 messages
2007-08-23 14:40:26admincreate