Re: [SQU] Time format

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 23 Aug 2000 03:04:35 +0200

Tobias Winterling wrote:
>
> Hy All,
>
> i have a question about the Squid Access.log format.
> Is it possible to see the access with GMT format and not the Unix Time?
> Do is see also the access begin and the end time?

It can easily be converted using a small perl snippet..

perl -p -e 's/^(\d+)/gmtime($1)/e'

Squids native log format shows the duration of the request, so from the
timestamp and the duration you can derive when the request started.

--
Henrik Nordstrom
Squid Hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Aug 22 2000 - 19:41:30 MDT

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