[squid-users] logformat %tl and %tg are same.

Amos Jeffries squid3 at treenet.co.nz
Thu Jan 12 13:01:35 UTC 2017


On 13/01/2017 12:40 a.m., Mimiko wrote:
> On 12.01.2017 13:27, Amos Jeffries wrote:
>> The problem is very probably that "Server is configured to local time".
>>
>> By setting your server to use "local time" (whatever that may be for
>> you) you are making it tell Squid that GMT == local time.
> 
> Ok. I understand your point. But why squid shows time in log in GMT? All
> other applications log ok, only squid logs time as if server's local
> time was configured to GMT.

Not sure, and 3.1 is so obsolete a version I'm not even able to test it
anymore.

FWIW; I am not seeing your problem on the current Squid versions. %tl
and %tg show different values. Though I do have my machine set to
operate in UTC properly.

Amos



More information about the squid-users mailing list