> 
> 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.

Reply via email to