[Twisted-web] How to get rid of web logs?
Donovan Preston
dp at ulaluma.com
Wed Jan 5 20:51:36 MST 2005
On Oct 4, 2004, at 9:06 AM, Yun Mao wrote:
> It seems nobody else cares about this problem. Anyway here is the
> solution:
>
> class NevowSiteNoLog(appserver.NevowSite):
> def log(self, request):
> return
>
> Yun
People do care about this problem. The simpler solution is to tell
twisted.web to log accesses to another file, or to /dev/null.
site = NevowSite(root, logPath='web.log')
dp
More information about the Twisted-web
mailing list