Re: [squid-users] Squid log formats - 2.5->2.6?

From: Mark Nottingham <mnot_at_yahoo-inc.com>
Date: Tue, 17 Jun 2008 13:15:13 +1000

That reminds me; when using logformat, I've seen some counters show up
as '-' when the value is 0. I can try to reproduce if more info is
needed...

On 17/06/2008, at 8:26 AM, Henrik Nordstrom wrote:

> On mån, 2008-06-16 at 11:21 -0400, Mike Diggins wrote:
>> Has something changed in the access log format between Squid
>> 2.5Stable14
>> and 2.6Stable20? I'm just upgrading and noticed my webalizer can no
>> longer
>> parse the access.log file. It complains about the date which I
>> believe is
>> the same on both (seconds since the Epoch).
>>
>> Error: Skipping record (bad date): [31/dec/1969:19:00:00 -0000] [68]
>>
>> In squid 2.6, I've picked the default squid format (logformat):
>>
>> logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/
>> %<A %mt
>
> Should work.
>
> Are you sure you told webalizer to parse a Squid access log in Squid
> native format, and not a common log format?
>
> Also try without the logformat directive. The "squid" format is
> built-in, and may differ sligtly if you redefine it with a logformat
> directive..
>
> Regards
> Henrik

--
Mark Nottingham       mnot_at_yahoo-inc.com
Received on Tue Jun 17 2008 - 03:15:36 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 17 2008 - 12:00:03 MDT