Re: [squid-users] Squid time to people time

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Thu, 21 Nov 2002 12:08:15 +1000

Hi,

This is a FAQ.

On Thu, 21 Nov 2002 12:17:07 +1100
"Simon Bryan" <sbryan@olmc.nsw.edu.au> wrote:

> Hi all,
> Whats the formula for converting Squid time in the logs to normal people
> based time?

On my box I do

perl -pe 's/(\d+\.\d+)/localtime $1/e' /opt/squid/logs/access.log

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3227 6334
Received on Thu Nov 21 2002 - 09:50:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:28 MST