Name

log_ip_on_direct

Synopsis

By default, Squid puts origin server IP addresses into the ninth field of the access.log. If you enable this directive, Squid puts the origin server hostname there instead.

Syntax

log_ip_on_direct on|off

Default

log_ip_on_direct on

Example

log_ip_on_direct off

Related

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