[squid-users] Re: time in logs

From: Adam Aube <aaube01@dont-contact.us>
Date: Wed, 30 Jun 2004 16:19:41 -0400

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
Received on Wed Jun 30 2004 - 14:17:38 MDT

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