[Twisted-Python] Disable twisted web logging

Jean-Paul Calderone exarkun at divmod.com
Sat Aug 16 08:05:58 EDT 2008

On Sat, 16 Aug 2008 17:57:47 +0600, Pavel <pbastov at gmail.com> wrote:
>My Twisted server is listening on two ports: 80 for processing http
>requrests and xxx for
>processing tcp requests from clients.
>http logs seem to clutter my log file. Is there any way to disable
>http logs only and leave
>logging facility otherwise intact? Or at least redirect http logs to a
>different file?

If you pass a filename for the `logPath´ parameter to `Site´, request
logs will be written to that file instead of to the main log.


More information about the Twisted-Python mailing list