From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 17:11:41 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 8DC0E16A4CE for ; Wed, 17 Mar 2004 17:11:41 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FE6043D2F for ; Wed, 17 Mar 2004 17:11:39 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.119]) by mta10.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040318011138.ZUFS1437.mta10.adelphia.net@barbish>; Wed, 17 Mar 2004 20:11:38 -0500 From: "JJB" To: "Doug Hardie" , Date: Wed, 17 Mar 2004 20:11:38 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <2D4DF92E-7877-11D8-B05A-000393681B06@lafn.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 01:11:41 -0000 *.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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"