[Twisted-Python] Disable twisted web logging

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? Thanks in advance. -- Good luck, Pavel Bastov

On Sat, 16 Aug 2008 17:57:47 +0600, Pavel <pbastov@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. Jean-Paul

Thanks a lot! Will implement it. On Sat, Aug 16, 2008 at 6:05 PM, Jean-Paul Calderone <exarkun@divmod.com> wrote:
On Sat, 16 Aug 2008 17:57:47 +0600, Pavel <pbastov@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.
Jean-Paul
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- Good luck, Pavel Bastov xooChat Team Leader http://www.xoochat.com/
participants (2)
-
Jean-Paul Calderone
-
Pavel