Re: [squid-users] Logfile date format

From: Dan Larsson <dl@dont-contact.us>
Date: Tue, 27 Mar 2001 15:06:06 +0200 (CEST)

On Tue, 27 Mar 2001, Ben Kadish wrote:

| I checked the FAQ's and all the documentation I could find, and I can't
| find anywhere that tells me about the format that Squid uses to timestamp
| requests in access.log. I can't figure out how "985696648.921" gets
| translated into a real date and time. I ask because I already hit the file
| with Calamaris and am trying to go back and do some fine-tooth auditing on
| a user. Thanks in advance for your help!

cat access.log | perl -nwe 's/^(\d+)/localtime($1)/e; print'

|

Regards
+------
Dan Larsson | Tel: +46 8 550 120 21
Tyfon Svenska AB | Fax: +46 8 550 120 02
GPG and PGP keys | finger dl@hq1.tyfon.net
Received on Tue Mar 27 2001 - 06:06:16 MST

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