Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In squid, is it possible to enable access logging only on a specific ACL?

If so, how?

We have done quite a few searches and were unable to find the proper conf syntax :(

share|improve this question

1 Answer 1

up vote 2 down vote accepted
acl log_this src x.x.x.x. y.y.y.y.y z.z.z.z.z
access_log /var/log/squid common log_this
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.