Adam Aube wrote:
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

Hi,

I use "emulate_httpd_log on". My favorite squid log analyser sarg can read this format - and it is perfectly human readible.

Regards, Hendrik Voigtl�nder

Reply via email to