How to stop squid from logging some specific URL?
How to stop squid from logging some specific URL?
I have a centOS 7 server with Squid installed as transparent proxy in it and it's doing a great job. The only problem that I am having is that it's keeping log of my CRM as well which generates one request every 3 second and it's so annoying. I want to exclude this particular site. I have only one client computer right now and the log is crowded. Imagine 50-60 computers doing the same thing. How do I do it?
Re: How to stop squid from logging some specific URL?
After some research I found out that this can be achieved through making some changes to squid.conf file....
to do so make a separate ACL with all the websites that you want to prevent form logging... and add the following to squid.conf file:
to do so make a separate ACL with all the websites that you want to prevent form logging... and add the following to squid.conf file:
Code: Select all
log_access deny safelist #where safelist is acl name