[squid-users] dumb question: how to get http server IP into logs?

Amos Jeffries squid3 at treenet.co.nz
Mon Jul 31 13:48:05 UTC 2017


On 31/07/17 23:49, Eliezer Croitoru wrote:
> I looked at:
> http://www.squid-cache.org/Doc/config/logformat/
> 
> and the default squid logformat:
> logformat squid      %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
> 
> Seems to contain the desired pattern.
> Am I missing something?

Jason's using a custom format. Sounds to me like they did not simply 
copy the example and add bits, but rather made a fully custom one with 
only their desired fields.

Amos


More information about the squid-users mailing list