Re: [squid-users] Changing the time format for access_log

2019-11-20 Thread James Moe
On 2019-11-19 10:12 PM, Amos Jeffries 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} > Thank you. That works quite nicely. -- James Moe moe dot james at sohnen-moe dot com 520.743.3936

Re: [squid-users] Changing the time format for access_log

2019-11-19 Thread Amos Jeffries
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

Re: [squid-users] Changing the time format for access_log

2019-11-19 Thread Alex Rousskov
On 11/19/19 2:08 PM, James Moe wrote: > FATAL: Can't parse configuration token: '%Y-%m-%dT%H:%M:%S > %z.%03tu %6tr %>a %Ss/%03>Hs % > What is the format error? You are using logformat %codes unsupported by Squid, such as %Y, %m, and %d. Please search the logformat documentation for "Time related