[Twisted-Python] XMLRPC, how to prevent stdout on post and get?
ddwiggins at advpubtech.com
Tue Jul 19 11:18:02 MDT 2011
On 7/19/2011 4:37 AM, exarkun at twistedmatrix.com wrote:
> If not for the logfile rotation that twisted.web.server.Site wants to
> do, you could pass os.devnull as a logPath to Site's initializer.
> However, log rotation will like causes this to do something bad.
> There's a private method that Site overrides (from HTTPFactory) that controls part of this behavior. It might be useful to have a public API for that instead.
> Would you like to file an enhancement ticket in the issue tracker describing the use case?
Yes, I'm interested in this as well. Somewhat different from the OP,
I'd like to have a way to turn this logging on and off, and if on, a way
to specify the content of the message (in particular, the method and
I've submitted Ticket #5200.
Advanced Publishing Technology
More information about the Twisted-Python