From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ns02N-0007gK-L3 for garchives@archives.gentoo.org; Wed, 17 Mar 2010 20:40:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4016DE09A2; Wed, 17 Mar 2010 20:40:14 +0000 (UTC) Received: from aplus.dartworks.biz (aplus.dartworks.biz [206.225.82.180]) by pigeon.gentoo.org (Postfix) with ESMTP id 1FAE5E09A2 for ; Wed, 17 Mar 2010 20:40:14 +0000 (UTC) Received: from dartworks.biz (173-8-128-221-SFBA.hfc.comcastbusiness.net [::ffff:173.8.128.221]) (AUTH: CRAM-MD5 mercury) by aplus.dartworks.biz with esmtp; Wed, 17 Mar 2010 13:40:13 -0700 id 00414004.4BA13E2D.000068CC Date: Wed, 17 Mar 2010 13:40:12 -0700 From: Keith Dart To: gentoo-user@lists.gentoo.org Cc: axllent@gmail.com Subject: Re: [gentoo-user] syslog-ng filtering Message-ID: <20100317134012.3e8d33ca@dartworks.biz> In-Reply-To: <17bd4e851003171316y6785714brd7327983d5da02cf@mail.gmail.com> References: <17bd4e851003161622x21b7e78chc228017250c7ff0f@mail.gmail.com> <201003171239.47431.alan.mckinnon@gmail.com> <17bd4e851003171316y6785714brd7327983d5da02cf@mail.gmail.com> Organization: Dartworks X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: b45b2c15-ba8e-4c59-8e06-b94cf69a78e9 X-Archives-Hash: cd67111e0e8b3d5956b840e9083531ad === On Thu, 03/18, Ralph Slooten wrote: === > Maybe I'm the idiot here, however I thought that this was a common > way of getting rid of unwanted crud from the syslog? === Probably the best method is to not send it there in the first place. For example, the script run by cron, /usr/sbin/run-crons, has this line in it: [ -x /usr/bin/logger ] && /usr/bin/logger -i -p cron.info -t run-crons "(`whoami`) CMD ($SCRIPT)" You can comment that out and then those annoying run-cron entries won't be logged. -- Keith Dart -- -- -------------------- Keith Dart =======================