Message28727
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.
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:40:26 | admin | link | issue1501699 messages |
| 2007-08-23 14:40:26 | admin | create | |
|