Re: [squid-users] Access log file

From: Dan Larsson <dl@dont-contact.us>
Date: Tue, 26 Jun 2001 11:01:19 +0200 (CEST)

On Tue, 26 Jun 2001, Rash Dar wrote:

| When I run the command I got the following error
| messages :

I'm assuming you wrote the entire command as one line. The below
works for me on FreeBSD, so I don't know what the problem could be.

| --- Dan Larsson <dl@tyfon.net> wrote:
| >
| > How can I know the time by looking at the access log
| > file?
| >
| > The times in the access log are as unix timestamps.
| >
| > perl -wlne 's/^(\d+)\.\d+/localtime($1)/e;print'
| > /path/to/access.log

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 Jun 26 2001 - 03:01:24 MDT

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