[issue6435] logging: cache the traceback text on formatter, instead of record

Sridhar Ratnakumar report at bugs.python.org
Thu Jul 9 09:19:54 CEST 2009


Sridhar Ratnakumar <sridharr at activestate.com> added the comment:

On Wed, 08 Jul 2009 23:59:17 -0700, Vinay Sajip <report at bugs.python.org>  
wrote:

> 1. The exception text cannot be cached in the formatter because a
> formatter will format lots and lots of records. Formatters live for a
> long time, records do not.

Ah, yes.

> Are you sure you've thought this through?

Not thoroughly .. as I missed the point 1. on formatter processing  
multiple records.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6435>
_______________________________________


More information about the Python-bugs-list mailing list