From owner-freebsd-questions Tue Dec 7 8:47:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 31D1514CEF for ; Tue, 7 Dec 1999 08:47:50 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11vNlf-00031y-00; Tue, 07 Dec 1999 18:47:11 +0200 From: Sheldon Hearn To: "Rafael A. Reta Rodriguez" Cc: Joseph Scott , "questions@FreeBSD.ORG" Subject: Re: syslog In-reply-to: Your message of "Tue, 07 Dec 1999 10:21:49 CST." <384D341D.A357DF13@icave.com.mx> Date: Tue, 07 Dec 1999 18:47:11 +0200 Message-ID: <11653.944585231@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 07 Dec 1999 10:21:49 CST, "Rafael A. Reta Rodriguez" wrote: > Yes, it exist, the problem was solved with Joseph Scott's solution Really? :-) :-) > by adding the !squid tag at the end of /etc/syslog.conf but now I get > the messages in both files! Yep, life's a bitch. Without investigating more closely _which_ facility and level each of the kinds of messages you're getting are at, and possibly recompiling squid, there's no easy way to have the messages match one rule but not another in /etc/syslog.conf . :-( > Is it posible to stop geting the squid log in /var/log/messages? As I said, no easy way. You could have a look at the squid sources and try to figure out what facility and level it's using to log its errors. Then, just change the facility and / or level for all its messages to something that you _don't_ trap in /etc/syslog.conf except with your !squid tag. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message