LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Change access.log timestamp,squid proxy (https://www.linuxquestions.org/questions/linux-software-2/change-access-log-timestamp-squid-proxy-436721/)

gordonb 04-19-2006 07:43 AM

Change access.log timestamp,squid proxy
 
Hi,

I desparately need to change the timestamp in Squid proxy's access.log file so that i can actually see what the dates are.

Any Ideas??

zulfilee 04-20-2006 12:28 AM

Your question is not clear

If you want to change the timestamp value found in access.log file to a readble date format try this

the time should be in seconds so try a
date +%s
This will give time in seconds
So
date --date="seconds"

should give the date [or check man date]

There are a lot of squidlog file analyzers available whihc would be of help to you.

I would suggest SARG and you can get it at freshmeat.net

Cheers
Z


All times are GMT -5. The time now is 03:34 PM.