From owner-freebsd-questions Tue Dec 7 8:59:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icave3.icave.com.mx (icave3.icave.com.mx [148.233.5.130]) by hub.freebsd.org (Postfix) with ESMTP id EF82C14D6C for ; Tue, 7 Dec 1999 08:59:16 -0800 (PST) (envelope-from rafareta@icave.com.mx) Received: from icave.com.mx (icave10.icave.com.mx [148.233.5.137]) by icave3.icave.com.mx (8.9.3/8.9.3) with ESMTP id KAA01844; Tue, 7 Dec 1999 10:54:47 -0600 (CST) (envelope-from rafareta@icave.com.mx) Message-ID: <384D3B59.B2CECFAE@icave.com.mx> Date: Tue, 07 Dec 1999 10:52:41 -0600 From: "Rafael A. Reta Rodriguez" Organization: ICAVE X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: Joseph Scott , "questions@FreeBSD.ORG" Subject: Re: syslog References: <11653.944585231@axl.noc.iafrica.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > 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? :-) :-) !!! Sorry Sheldon, it was you the one who got me the solution, it was my name mistake. I apologize! > > > > 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