From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:10:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4FA616A4CE for ; Thu, 18 Mar 2004 08:10:55 -0800 (PST) Received: from voyager.twobirds.us (c-24-18-222-18.client.comcast.net [24.18.222.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB60E43D2F for ; Thu, 18 Mar 2004 08:10:55 -0800 (PST) (envelope-from joshua@twobirds.us) Received: from [12.18.154.2] (helo=localhost) by voyager.twobirds.us with esmtp (Exim 4.30; FreeBSD) id 1B406S-0003cL-Sn; Thu, 18 Mar 2004 08:10:40 -0800 Date: Thu, 18 Mar 2004 08:10:44 -0800 From: Joshua Lokken To: JJB Message-ID: <20040318161044.GB1588@cs025_2k> Mail-Followup-To: JJB , freebsd-questions@freebsd.org References: <2D4DF92E-7877-11D8-B05A-000393681B06@lafn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 16:10:56 -0000 * JJB [2004-03-18 07:30]: > *.err;kern.debug;auth.notice;mail.crit /dev/console > > That would be this > > *.err;kern.none;auth.none;mail.none /dev/console > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Doug Hardie > Sent: Wednesday, March 17, 2004 7:57 PM > To: freebsd-questions@freebsd.org > Subject: Syslog > > FreeBSD 4.6. I have a server running that logs to syslog for > recording > interesting information. It uses LOG_DAEMON facility so give the > standard syslog.conf entries of: > > *.err;kern.debug;auth.notice;mail.crit /dev/console > *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages > > all of those records go to both console and messages in addition to > the > desire file specified with a ! statement. Is there a way to modify > the > statements above such that log entries from the specified program > are > not sent to console or messages? I couldn't find anything in the > man > pages on this. I had thought I could add a "!prog" after mail.crit > in > the first entry to do that, but it appears that my memory is > corrupt. This is more of a question, but could the lines above simply be commented out? Top-posting makes list mails a bit difficult to follow logically; please do not top-post. -- Joshua Women professionals do tend to over-compensate. -- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before", stardate 1312.9.