New Message: Re: How to Log to a Text File

webmaster at userland.com webmaster at userland.com
Mon May 2 19:40:39 PDT 2005


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$962

By: Ben Collis (ben at dp.co.nz)

To Customise the common log file e.g. to format something like ..

DOMAIN HOST SKIP USER DATE-CLF FULL-REQUEST STATUS BYTES REFERER AGENT

I will need to modify webserver.postFilters.commonLog to insert the additional fields ?

Can I check the format of what is currently produced against somekind of field spec ?

www.awapress.co.nz 203.79.69.155 - - [02/May/2005:11:45:51 +1200] "GET
/products/published/books/newzealand/geaotearoathecompleteguide HTTP/1.1" 200 29691
"http://www.awapress.co.nz/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

So it appears that currently the format is something like ..

DOMAIN USER DATE-CLF FULL-REQUEST STATUS BYTES REFERER AGENT ..

Any help appreciated.

This is a Manila site.. http://manila.userland.com/.




More information about the Frontier-Users mailing list