public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Keith Dart <keith@dartworks.biz>
To: gentoo-user@lists.gentoo.org
Cc: axllent@gmail.com
Subject: Re: [gentoo-user] syslog-ng filtering
Date: Wed, 17 Mar 2010 13:40:12 -0700	[thread overview]
Message-ID: <20100317134012.3e8d33ca@dartworks.biz> (raw)
In-Reply-To: <17bd4e851003171316y6785714brd7327983d5da02cf@mail.gmail.com>

=== 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
<keith@dartworks.biz>
=======================



  parent reply	other threads:[~2010-03-17 20:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 23:22 [gentoo-user] syslog-ng filtering Ralph Slooten
2010-03-17  0:00 ` Roy Wright
2010-03-17  2:49   ` Ralph Slooten
2010-03-17 10:48     ` Fred Leon
2010-03-17 10:39 ` Alan McKinnon
2010-03-17 11:12   ` [gentoo-user] " Robert Fekete
2010-03-17 20:16   ` [gentoo-user] " Ralph Slooten
2010-03-17 20:31     ` Alan McKinnon
2010-03-19  7:56       ` [gentoo-user] " Robert Fekete
2010-03-17 20:40     ` Keith Dart [this message]
2010-03-17 21:43       ` [gentoo-user] " Ralph Slooten
2010-03-18  6:39         ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100317134012.3e8d33ca@dartworks.biz \
    --to=keith@dartworks.biz \
    --cc=axllent@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox