Search squid archive

RE: squid logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Sent: Thursday, February 09, 2006 10:30 PM
To: Gregori Parker
Cc: Squid ML
Subject: Re:  squid logging

On 2/9/06, Gregori Parker <gregori@xxxxxxxxxxxxxx> 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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux