Search squid archive

Re: Squid log formats - 2.5->2.6?

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux