[squid-users] Changing cache_log format
Amos Jeffries
squid3 at treenet.co.nz
Thu Dec 2 15:54:51 UTC 2021
On 3/12/21 02:13, Kirschner, Sebastian (A-GTSI-DDP) wrote:
> Hi all,
> is it possible to change log_format of cache_log? We would like to add also timezone information to this kind of log by specifying local time:
>
> 2021/11/23 09:56:17| Logfile: opening log stdio:/var/log/squid/netdb.state
>
No. TZ is omitted for privacy when sharing these logs.
The log time is UTC. If you wish to covert it to anything else use a
converter script to read the file. Same should be done to covert the
access.log machine timestamp to human readable.
Amos
More information about the squid-users
mailing list