[squid-users] udp log buffer size

Amos Jeffries squid3 at treenet.co.nz
Tue Apr 30 07:35:57 UTC 2019


On 30/04/19 7:11 pm, leomessi983 at yahoo.com wrote:
> Hi squid members
> My squid  version is 4.6 .
> How can i disable buffering logs to send them to a UDP receiver daemon?
> I want to get logs immediately without buffering them with squid!
> I checked before and my daemon I/O is OK and gets logs immediately, when
> i reload squid it send logs to my daemon but  it get some time to send
> them without reloading, my buffer-size=0KB configuration does not work!!
> 
> This is my config:
> 
> access_log udp://127.0.0.1:12188 logformat=squid1 buffer-size=0KB
> 


IIRC there was a typo in the instructions, "buffer-size=0" (no unit)
should work.

Amos


More information about the squid-users mailing list