Opened 14 years ago

Last modified 7 years ago

#2834 defect new

Logging should deal nicely with problems logging Failures

Reported by: itamarst Owned by:
Priority: normal Milestone:
Component: core Keywords: logging
Cc: Branch:


If Failure.getTraceback blows up, nothing useful will get logged (and logging stops, but that's another ticket.)

To reproduce just log a failure whose getTraceback method has been overridden to raise exception; it happens in wild too! E.g. I've seen this happen when max recursion limit is exceeded in Deferred callbacks.

Change History (3)

comment:1 Changed 12 years ago by Glyph

Owner: changed from Glyph to itamarst

comment:2 Changed 11 years ago by <automation>

Owner: itamarst deleted

comment:3 Changed 7 years ago by Wilfredo Sánchez Vega

Keywords: logging added

twisted.logger notes an error when it can't obtain a traceback from a failure. It also doesn't stop logging.

Last edited 7 years ago by Wilfredo Sánchez Vega (previous) (diff)
Note: See TracTickets for help on using tickets.