From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 09:28:01 2003 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 6EA0537B401 for ; Sun, 6 Jul 2003 09:28:01 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD3943FCB for ; Sun, 6 Jul 2003 09:28:00 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h66GRwZY025762 for ; Sun, 6 Jul 2003 11:27:59 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org From: Kirk Strauser Date: Sun, 06 Jul 2003 11:27:54 -0500 Message-ID: <873chjtyb9.fsf@pooh.honeypot.net> Lines: 27 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Stop syslog from writing certain facilities to console? 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: Sun, 06 Jul 2003 16:28:01 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I'm running Leafnode in a FreeBSD 4.8-STABLE jail environment. `fetchnews' reports a lot of minor errors to news.err, and these get written to console (which annoys me to no end). /etc/syslog.conf looks like: *.err;kern.debug;auth.notice;mail.crit /dev/console *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages security.* /var/log/security auth.info;authpriv.info /var/log/auth.log mail.info /var/log/maillog lpr.info /var/log/lpd-errs cron.* /var/log/cron *.emerg * news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice /var/log/news/news.noti= ce !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log I can't seem to get my head around this. How can I tell it to look *.err to console except when facility=3Dnews? =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/CE4N5sRg+Y0CpvERAu0nAJ9QS5SSVNzfITQ0DzGEAI2B1tXBdQCfbTm2 7pGzLwztGC2CEdm0HG0yonA= =j1bc -----END PGP SIGNATURE----- --=-=-=--