Re: [squid-users] Re: time in logs

From: Hendrik Voigtländer <hendrik@dont-contact.us>
Date: Wed, 30 Jun 2004 22:32:39 +0200

Adam Aube wrote:
> Peter Marshall wrote:
>
>
>>Is there anyway to have a human readable time in the access logs ?
>
>
> I don't know of a way to make Squid log human readable timestamps, but if
> you read the log file like this:
>
> perl -p -e 's/^(\d+)\.\d+/localtime($1)/e' /path/to/access.log
>
> the timestamps will be converted to human-readable form on-the-fly.
>
> Adam

Hi,

I use "emulate_httpd_log on". My favorite squid log analyser sarg can
read this format - and it is perfectly human readible.

Regards, Hendrik Voigtländer
Received on Wed Jun 30 2004 - 14:32:55 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:03 MDT