Re: [SQU] Time in log files

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 03 Jan 2001 00:08:33 +0100

emulate_httpd_log on

or

tail -f /var/log/squid/access.log | perl -p -e
's/^(\d+)/localtime($1)/e'

--
Henrik Nordstrom
Squid hacker
Tony Melia wrote:
> 
> Is it possible to patch squid, or even add an option in the config, so that
> it will report times in actual time rather than epoch in it’s log files?  I
> have a relatively low traffic site using squid, and would like to leave a
> ‘tail –f /var/log/squid/access.log’  command running so I can watch
> realtime, but also see the real time.
> 
> Any suggestions?
> 
> Tony
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 02 2001 - 16:26:03 MST

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