RE: [SQU] The access.log

From: Martin Mielke <martinm@dont-contact.us>
Date: Mon, 15 Jan 2001 19:47:48 +0100

Hello,
 
UNIX-time begins somewhere back in 1970 (Juny, 1st) and is count in seconds
 
Try this small perl script to convert to human-format :)
Watch out for your Perl path!
 

---
#! /usr/bin/perl -p
#
# convert UNIX time to a more human-readable format
#
# Martin Mielke - martin@people-com.com <mailto:martin@people-com.com> 
#
 
s/^\d+\.\d+/localtime $&/e;  
---
 
 
HTH,
 
Martin
 
-----Original Message-----
From: Sergio Domenech [mailto:sergiodomenech@yahoo.com]
Sent: Monday, January 15, 2001 6:32 PM
To: squid-users@ircache.net
Subject: [SQU] The access.log
Hi everyone
 I have a small problem that maybe someone can help me with:
I need to know how to translate the first field on the access.log from squid
to something understandable
how you know that 979203949.269 means " 09 Jan 01
04:00"  what is the algorithm
Thanks 
sergiodomenech@yahoo.com
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Jan 15 2001 - 11:49:37 MST

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