Ticket #136 (closed enhancement: wontfix)

Opened 7 years ago

Last modified 14 months ago

Verbose mode for logging

Reported by: itamarst Owned by: glyph
Priority: low Milestone:
Component: core Keywords: easy
Cc: glyph, itamarst Branch:
Author: Launchpad Bug:

Description


Change History

Changed 7 years ago by itamarst

Turns on logging of locals/globals and all extra info
Failures have that is *not* logged by default. This would be
done for specific log observers, most notably the default
logfile/stderr log observer.

Changed 7 years ago by glyph

what the heck, I'll pick this one up

Changed 5 years ago by glyph

*27 months* of inactivity?  Fiddlesticks.  This definitely isn't important.

Changed 20 months ago by exarkun

  • keywords easy added
  • component set to core

I suggest implementing this as an optional argument to FileLogObserver about the verbosity of the failure logging to perform. FileLogObserver.emit can pass this option on to textFromEventDict which can pass it on when it calls getTraceback. Since log observers can be customized in tac files now, this will let people create a log observer using any verbosity they like. However, it may also be nice to add this to the twistd command line, either by including it along with --debug, or adding a separate --log-verbose-failures option, or both.

Or perhaps this is a worthless feature. I can't really think of any times when I have desired this. I generally go straight to pdb when debugging. It's easier to find the precise thing I'm looking for. Verbose failure logging forces one to search through a big mountain of data.

Changed 14 months ago by glyph

  • status changed from new to closed
  • resolution set to wontfix

I'm going to go ahead and agree with exarkun that this just isn't that important. In the rare cases where I want insanely verbose logging, I want --spew, and we've got that.

Note: See TracTickets for help on using tickets.