[Twisted-Python] supressess warnings

Christopher Armstrong radix at twistedmatrix.com
Tue Apr 1 14:17:33 EST 2003


On Tue, Apr 01, 2003 at 02:11:18PM -0500, Christopher Armstrong wrote:
> I wish this could be accepted, but unless glyph changes his mind, it
> probably won't. The usual response is to use twistd, but twistd isn't
> appropriate in all use-cases (it is in yours, however). The *reason*,
> IIRC, was that "you shouldn't spam unwanted stuff to STDIO", which I
> think is stupid. Application developers could notice spam to stdio,
> and, if they don't like it, startLogging to NullFile. (I've heard a
> lot more complaints about "Why don't I see any output!?" than "Why
> does Twisted write stuff to my stdio?")
> 
> </rant>
> 
> Sorry, I guess I'll stop beating a dead horse. :)

Ok, so apparently I had forgotten that glyph *did* agree to log errors
and warnings to STDIO, but when he implemented the change it didn't
work. Sorry, glyph :) Itamar just checked in a fix so stuff gets
logged to stderr. Hooray!


-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list