[syslog-ng]Re: syslog-ng digest, Vol 1 #250 - 4 msgs

Ohrberg, Mick Mick.Ohrberg@umb.com
Tue, 29 Aug 2000 13:41:14 -0500

2.3.3. program()
Selects messages based on the program field. The parameter may be an
extended regular expression. 


-----Original Message-----
From: Jason Tsai [mailto:jason@nw.leadon.com.tw]
Sent: Tuesday, August 29, 2000 12:32 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Re: syslog-ng digest, Vol 1 #250 - 4 msgs

On Mon, 28 Aug 2000 07:12:48 +0200
syslog-ng-admin@lists.balabit.hu wrote:

> > 1. Once my linux box receive a log, how can I redirect this log message
to someone's
> > mail(someone@somewhere.com)?
> You could use the program() destination to send messages to a custom
> which may send an email or anything you want to.
Can you show me how to use the program() in syslog-ng.conf?
And how does the program() pass the message to a custom script? using
system environment?


Best Regards

Jason Tsai
E-Mail: jason@leadon.com.tw
Tel: +886-2-23949911#815

syslog-ng maillist  -  syslog-ng@lists.balabit.hu