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

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 17 Jun 2008 00:26:41 +0200

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

Received on Mon Jun 16 2008 - 22:27:38 MDT

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