Also, this perl snippet I found, seems to work well too...
/usr/bin/perl -pe 's/^\d+\.\d+/localtime $&/e'
Using some UNIX plumbing, pipe the output of the log thru this perl code and
you should get local time.
Chris.
-----Original Message-----
From: Duane Wessels [mailto:wessels@ircache.net]
Sent: Wednesday, August 12, 1998 6:55 AM
To: squid@goldnetpub.com
Cc: squid-users@ircache.net
Subject: Re: Logs and Dates
squid@goldnetpub.com writes:
>Is there anyway to change the way it logs dates? instead of date %s just
>do the normal date command such as in the normal syslog format?
>
>It makes it very hard to keep track of when the accesses were when your
>looking at 902867750.
try
emulate_httpd_log on
Duane W.
Received on Tue Aug 11 1998 - 17:24:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:29 MST