Re: Squid log format

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Apr 2000 20:14:07 +0200

Eric Nelson wrote:
>
> Is there any way (or plans) to make squid log its entries using a different
> time format than seconds since 1970?

The common log format already does. It has been there since ages. See
squid.conf.

I prefer the native log format. Converting the number to human readable
format is trivial when needed. I usually uses something like

tail -f access.log | perl -pe 's/(\d+)/localtime($1)/e'
Received on Wed Apr 19 2000 - 13:36:54 MDT

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