Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-29-2006, 09:53 AM   #1
Registered: Jul 2003
Location: Frankfurt, Germany
Distribution: Mint, Ubuntu, Knoppix, RHEL
Posts: 65

Rep: Reputation: 15
Squid: not to log access by a particular host

Hi folks,

is there any way to "tell" Squid to stop logging entries generated by a particular host? Say my LAN is, and I want to log web access from all hosts in my LAN, except from
Long time ago I remember reading it is possible to do it, but I haven't been able to find it now, even after some happy googling...

Old 06-15-2012, 05:57 PM   #2
Registered: Jun 2012
Location: Canada
Distribution: Ubuntu/Debian/CentOS
Posts: 45

Rep: Reputation: 18
I know this is really old, but thought I would comment for the next person who stumbles upon this.

In the /etc/squid/squid.conf file, type the following:

acl block_ip src

log_access deny block_ip

That should stop logging access from that IP through Squid.
Old 06-15-2012, 06:44 PM   #3
Registered: Jul 2003
Location: Frankfurt, Germany
Distribution: Mint, Ubuntu, Knoppix, RHEL
Posts: 65

Original Poster
Rep: Reputation: 15
Definitely good to know! Thanks a lot for sharing! :-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
website access log - through Squid tsaravan Linux - Networking 4 02-05-2006 10:08 AM
trouble with squid access.log mephitic Linux - Software 0 11-02-2004 12:03 PM
Variables for Squid Access Log mephitic Linux - Software 2 07-29-2004 06:16 PM
My squid won't fill /var/log/squid/access.log linuxlah Linux - General 5 10-06-2003 11:51 PM
Squid access.log files davebarnes Linux - Networking 1 10-27-2002 05:05 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration