29 Aug
2000
29 Aug
'00
6:31 p.m.
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