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

2017-01-11 Thread Mimiko
Hello. I use Squid Cache: Version 3.1.20 In order to view the log in a readable format I use this: logformat squid %{%Y/%m/%d %H:%M:%S}tl %ts.%03tu %6tr %>a %Ss/%03>Hs % The problem is that the time in log is in GMT despite of %tl option. Server is configured to local time. Squid for both, %

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

2017-01-12 Thread Amos Jeffries
On 12/01/2017 8:43 p.m., Mimiko wrote: > Hello. > > I use Squid Cache: Version 3.1.20 > > In order to view the log in a readable format I use this: > > logformat squid %{%Y/%m/%d %H:%M:%S}tl %ts.%03tu %6tr %>a %Ss/%03>Hs > % > The problem is that the time in log is in GMT despite of %tl option.

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

2017-01-12 Thread Mimiko
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

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

2017-01-12 Thread Amos Jeffries
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. > >