log_mime_hdrs

log_mime_hdrs

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



    Appendix A. Config File Reference