[Twisted-web] twisted log files

David Reid dreid at dreid.org
Sun Dec 10 12:40:52 CST 2006


On Dec 10, 2006, at 9:23 AM, Manlio Perillo wrote:

> Jean-Paul Calderone ha scritto:
>> On Sun, 10 Dec 2006 12:55:18 +0100, Manlio Perillo  
>> <manlio_perillo at libero.it> wrote:
>>> Noah Gift ha scritto:
>>>> I am not sure if awstats directly parses twisted log files,
>>>
>>> I'm rather sure that it can not parse Twisted log file but there  
>>> are two solution:
>> Twisted Web will produce apache common log formatted logfiles if  
>> you ask
>> it to.  Look at the arguments Site takes.
>
>
> twisted.web.server.Site:
>    def __init__(self, resource, logPath=None, timeout=60*60*12):
>  	        """Initialize.
>  	        """

Specify the logPath and you should get a CLF logfile at that path.
>

> The combined log format should be supported by awstats.

It is.

>
> Regards  Manlio Perillo
>
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

David Reid
http://dreid.org/





More information about the Twisted-web mailing list