Search squid archive

Re: logformat for squid5 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/1/19 11:40 AM, --Ahmad-- wrote:

> logformat squid %tl %6tr %>a %>p %>la %>lp %Ss/%03Hs %<st %rm %ru %un
> %Sh/ %<A %<a %<la

I suspect your Squid v5 is not using your custom logformat. Squid is
using the default logformat. IIRC, Squid v5 warns if you are trying to
redefine the default logformat called "squid" (which is not supported)
instead of adding and using your own. Check Squid output and cache.log
for WARNING and ERROR messages.

Redefining the default logformat may have "worked" in v3, but you should
not do that (in any Squid version). Instead, define and use your own
logformat. For example:

  logformat myAccessLogFormat %tl %6tr ...
  access_log ... logformat=myAccessLogFormat


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux