Opened 17 months ago

Last modified 13 months ago

#6569 defect assigned

twisted.python.log.DefaultObserver does its own weird thing, doesn't use textFromEventDict

Reported by: glyph Owned by: wsanchez
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

Among other things, this means that DefaultObserver does not safely repr its argument. So, logging stuff like log.msg("Hello", BrokenRepr(), isError=1) will result in an exception and DefaultLogObserver being removed, whereas FileLogObserver will handle it correctly.

Change History (1)

comment:1 Changed 13 months ago by wsanchez

  • Status changed from new to assigned

Accepting, holding for #6750, which should either fix this or make it cleaner to fix.

Note: See TracTickets for help on using tickets.