Re: [squid-users] Access log and Cache Manager

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Mon, 9 Apr 2001 12:33:13 +1000 (EST)

Hi,

On Sun, 8 Apr 2001, Mike Diggins wrote:

>
> I've noticed that Squid's native access.log format doesn't include a
> date/time stamp which seems a bit odd. Does the "other" format that's
> mentioned in squid.conf include a time stamp?
>
> 986666438.889 565 130.113.220.121 TCP_MISS/200 5838 GET
> http://list.cineca.it/cgi-bin/wa? userid DIRECT/130.186.1.53 text/html
>
> Also, I've enabled cache manager which runs fine when I remove my
> authentication program (SMB-AUTH) but fails when I enable it. When I
> attempt to logon it tells me I must authenticate first. I have my
> cachemgr_passwd squid.conf entry set to 'none all'.
>
> Any help would be appreciated.

There is a timestamp. It's 986666438.889 which translates (in my timezone)
to "Sun Apr 8 04:00:38 2001". At least once a week someone asks this or a
similar question. Ther are probably 20 different ways of seeing the date
in a more user-friendly format, one of them being:

perl -pe 's/\d+/localtime($&)/e' access.log

Colin
Received on Sun Apr 08 2001 - 20:36:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:12 MST