Re: Logs and Dates

From: Dax Kelson <dkelson@dont-contact.us>
Date: Wed, 12 Aug 1998 14:18:02 -0600 (MDT)

On Tue, 11 Aug 1998 squid@goldnetpub.com wrote:

> Is there anyway to change the way it logs dates? instead of date %s just
> do the normal date command such as in the normal syslog format?
>
> It makes it very hard to keep track of when the accesses were when your
> looking at 902867750.

Grab "tailocal", it is part of the daemontools package available at:

ftp://koobera.math.uic.edu/www/daemontools.html

# tail access.log | tailocal
1998-08-12 13:21:46.173 463 209.140.68.9 TCP_MISS/302 124 GET ...
1998-08-12 13:21:46.561 46 209.140.64.12 TCP_HIT/200 6464 GET ...
1998-08-12 13:21:46.841 1 209.140.64.12 TCP_HIT/200 482 GET ...
1998-08-12 13:21:46.887 659 209.140.68.9 TCP_MISS/200 2840 GET ...
1998-08-12 13:21:47.010 1 209.140.64.12 TCP_HIT/200 245 GET ...
1998-08-12 13:21:47.048 468 209.140.68.9 TCP_MISS/200 1475 GET ...
Received on Wed Aug 12 1998 - 13:31:41 MDT

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