UDP log module always buffers log entries with a limit of
1400 bytes. Enable the "buffered_logs off" squid.conf
setting to disable this behaviour.
<sect1>Changes to existing directives<label id="modifieddirectives">
<p>
<descrip>
- <p>No changed directives in this version.
+ <tag>buffered_logs</tag>
+ <p>Honor the <em>off</em> setting in 'udp' access_log module.
</descrip>
records if it cannot write/send them immediately due to pending I/Os
(e.g., the I/O writing the previous log record) or connectivity loss.
- Currently honored by 'daemon' and 'tcp' access_log modules only.
+ Currently honored by 'daemon', 'tcp' and 'udp' access_log modules only.
DOC_END
NAME: netdb_filename
}
static void
-logfile_mod_udp_lineend(Logfile *)
+logfile_mod_udp_lineend(Logfile *lf)
{
+ if (!Config.onoff.buffered_logs)
+ lf->f_flush(lf);
}
static void