Squid 配置指令 buffered_logs
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | buffered_logs |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | buffered_logs off |
| 建议配置 |
|
Whether to write/send access_log records ASAP or accumulate them and then write/send them in larger chunks. Buffering may improve performance because it decreases the number of I/Os. However, buffering increases the delay before log records become available to the final recipient (e.g., a disk file or logging daemon) and, hence, increases the risk of log records loss. Note that even when buffered_logs are off, Squid may have to buffer 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', 'tcp' and 'udp' access_log modules only. |
|
