[syslog-ng]Sending mail to root?

nate syslog-ng@lists.balabit.hu
Mon, 18 Aug 2003 16:30:39 -0700


On Tue, Aug 19, 2003 at 01:08:44AM +0200, Amodiovalerio Verde wrote:
> Well, with that script you will receive a mail for each line in
> stdin...that's a pain...

You use syslog-ng's filtering to decide what to send to the script.  It
is an enourmous waste of time to make a script do filtering when
syslog-ng already does that.

If all you want is throtting, use swatch or a shell script like I
documented at:

 http://www.campin.net/newlogcheck.html

-- 
Nate

"My suggestion for an Official Usenet Motto: 'If you have nothing to
say, then come on in, this is the place for you, tell us all about it!'"
- Fosseng, Hevard [quotation collector]