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

Jason Tsai jason@nw.leadon.com.tw
Wed, 30 Aug 2000 01:31:43 +0800


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 script,
> 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?

Thanks.

Best Regards

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