[Twisted-Python] Disable twisted web logging

Pavel pbastov at gmail.com
Mon Aug 18 00:12:14 EDT 2008


Thanks a lot!

Will implement it.

On Sat, Aug 16, 2008 at 6:05 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> 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.
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Good luck,

Pavel Bastov
xooChat Team Leader
http://www.xoochat.com/




More information about the Twisted-Python mailing list