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

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