Code: Select all
tail -f /var/log/squid/access.log | perl -pe 's/^\d+\.\d+/localtime $&/e;'
this script working for me to check the access.log
thanks for helping...
Code: Select all
tail -f /var/log/squid/access.log | perl -pe 's/^\d+\.\d+/localtime $&/e;'