[squid-users] Changing the time format for access_log

Amos Jeffries squid3 at treenet.co.nz
Wed Nov 20 05:12:24 UTC 2019


On 20/11/19 9:48 am, Alex Rousskov wrote:
> IIRC, modern
> Squids support a natural position for such parameters -- after the
> %code. Here is an untested example:
> 
>  %tl{%Y-%m-%dT%H:%M:%S}
> 

Yes, all current Squid support parameters ({arg}) being either before OR
after the code letters. That is OR, not both.

As per the docs:
"
 % [encoding] [-] [[0]width] [{arg}] formatcode [{arg}]
"

Amos


More information about the squid-users mailing list