AWESOME - thanks mate!
One more question regarding this...
I'm trying to get the date format looking like "2006-02-10" but I only seem to have options for "10/Feb/2006:11:00:00 -0000" - any ideas?
Also, the doc claims that "%rq" is a valid token for the query line, but when I have it in my config, squid wont start; it just tells me:
FATAL: Can't parse configuration token: '%rq %>a %<st'
Utlimately, I'm looking to get the logs like this...
2006-02-10 09:00:00 /path/to/file/without/hostname/filename.swf query=string&without=the&question=mark 123.45.67.89 22148
(resembling IIS/W3C logging, as much as it pains me)
-----Original Message-----
From: Kevin [mailto:kkadow@gmail.com]
Sent: Thursday, February 09, 2006 10:30 PM
To: Gregori Parker
Cc: Squid ML
Subject: Re: [squid-users] squid logging
On 2/9/06, Gregori Parker <gregori@playstream.com> wrote:
> I currently have Squid logging to access.log in httpd
> emulation...unfortunately, our origin servers log in W3C format. We're
> working to make our parsers smart enough to handle it, but I thought
> it's worth asking: Are there any other controls over the format of
> access.log besides emulate_httpd_log? Perhaps a patch or module?
>
> I would LOVE to have the ability to designate what fields get logged so
> I can trim the fat :) Thanks in advance - Gregori
Yes, there is a patch which gives full control.
See the custom log patch, found from
http://devel.squid-cache.org/old_projects.html#customlog
I've been using it for many months now, no problems.
Kevin
Received on Fri Feb 10 2006 - 12:06:15 MST
This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST