Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17866

Is there a way to prevent squid from logging certain URLs?

$
0
0

I am running squid on Debian Wheezy, and for reasons too dumb to go into here, I would like to prevent squid from logging requests to a particular url. Alternately, but much, much less preferably, I could live with whitelisting the urls I do care about and dumping all the rest. I can't seem to find anything about this via Google. Most information along that line seems to revolve around disabling logging altogether, which I don't want.

I suppose I could create a cron job to run a script that would snip out all the lines containing the url I want removed, but that seems like an ugly solution. I'm not very well versed with squid, so maybe there's a more "correct" way to accomplish what I'm looking for.

Any ideas?

submitted by RonPolyp
[link][3 comments]

Viewing all articles
Browse latest Browse all 17866

Trending Articles