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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.