Question Locked

How to find out access.log for a specific date in squid proxy in Ubuntu ???

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

dears,
I have tried the following command to see the access.log file information
perl -pe 's/\d+/localtime($&)/e' access.log
but it only shows today's information
and when tried
perl -pe 's/\d+/localtime($&)/e' access.log | grep 'Mar 13'
it does not show anything... but proxy server worked for 'March 13'.

So I am in bad condition and seeking help from expert to find out the access infofmation of squid access on a Specific date...

Advance thanks for help...

2 replies

by robo_dev

Not as elegant as a Perl script, but surely much simpler

This discussion is closed to new replies.