On 7/19/2011 4:37 AM, exarkun@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?
Jean-Paul
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 arguments). I've submitted Ticket #5200. -- Don Dwiggins Advanced Publishing Technology