Name

log_mime_hdrs

Synopsis

When you enable this directive, Squid writes the HTTP request and response headers to the access.log file. The headers appear as two additional fields on each line. All whitespace and other special characters are encoded with URL-style escape codes. Enabling this option may assist in tracking down certain problems. Note that HTTP headers are relatively large (a few hundred bytes each). Logging them dramatically increases the size of your access.log file.

Syntax

log_mime_hdrs on|off

Default

log_mime_hdrs off

Example

log_mime_hdrs on

Related

cache_access_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.