Yes the emulated httpd log format does include a time/date. But why not
just convert the time/date from the unix timestamp? There have been
about 5 different perl/bash/etc. scripts and one-liners for converting
posted to this list in the past. In fact I posted one less than a week
ago, and I'll post it again now:
#! /usr/bin/perl -p
s/^\d+\.\d+/localtime $&/e;
It's quite easy to pipe your logs through this little tool, and have
nice friendly human readable times. (Adrian, your maintaining the FAQ
now, right?...perhaps this should be in there? Oh, wait--it already is
in the FAQ, so nevermind. Mike, you could have saved yourself the time
of waiting for a reply--it's FAQ number 6.6.)
http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6
Looks like the FAQ really does answer the frequently asked questions!
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.
>
> -Mike
--
Joe Cooper <joe@swelltech.com>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com
Received on Mon Apr 09 2001 - 03:26:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:13 MST