Name

buffered_logs

Synopsis

While this directive used to affect multiple log files, it now only applies to cache.log. Squid uses the stdio library for cache.log. If this directive is enabled, Squid calls fflush() after every write. This allows you to see log file entries as they are written. You might want to disable buffered_logs if you are debugging Squid in a way that creates a large number of cache.log entries.

Syntax

buffered_logs on|off

Default

buffered_logs off

Example

buffered_logs on

Related

cache_log

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.