You can't change the format of the Squid logs. What you can do is to
postprocess the logs to present them in human readable format.

Example command post processing a Squid access log into human readable
timestamps:
perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e' <access.log

---
Henrik Nordstrom
Spare time Squid hacker

Serban Teodorescu wrote:
> 
> I have read one of your answers about squid in squid mail list
> Please explain me where should i put
> 
> perl -e 'print scalar localtime 903459502, " + 172 msec\n';
> 
> to have the local time set in access.log
> 
> Thank you very much.
> 
> Serban Teodorescu
> Romania

Reply via email to