>
> I found only this script there where should i put this
> or is there easiest way to do.
>
> #! /usr/bin/perl -p
> s/^\d+\.\d+/localtime $&/e;
Yes. Open file as log.pl and paste the contents.
Run chmod +x log.pl
the run ./log.pl <access.log localtion > (/usr/local/squid/var/logs/access.log ) direct it to some file.
# ./log.pl /usr/local/squid/var/logs/access.log > result.log
result.log will contains information with date and timings.
Regards,
Muthukumar.
Received on Mon Jan 12 2004 - 06:32:55 MST
This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST