[Twisted-web] How to get rid of web logs?

Yun Mao maoy+twisted at cis.upenn.edu
Mon Oct 4 10:06:15 MDT 2004


It seems nobody else cares about this problem. Anyway here is the
solution:

class NevowSiteNoLog(appserver.NevowSite):
    def log(self, request):
        return

Yun


On Thu, 30 Sep 2004, Yun Mao wrote:

>
> Right now I'm using the log for debugging, and I don't wan to log those
> info like below. How should I achieve this?  Thanks!
>
> 2004/09/30 13:31 Eastern Daylight Time [HTTPChannel,1,127.0.0.1] 127.0.0.1
> - - [
> 30/Sep/2004:17:31:56 +0000] "GET /?view=all HTTP/1.1" 200 2767
> "http://localhost
> :1083/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7)
> Gecko/20040803
> Firefox/0.9.3"
>
> Yun
>
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>



More information about the Twisted-web mailing list