Sample configuration file for syslog-ng.
15a0699c3a99b7f4f7e55209d7edad48c14ba016a8fa6e443339ac6fbf429f59
source src { unix-stream /dev/log; internal; };
destination sendmail { file /dev/tty9; };
destination other { file /dev/tty10; };
destination everything { file /dev/tty11; };
filter f_sendmail {
program("sendmail");
};
filter f_otherhost {
host("other");
};
log { source src; filter f_sendmail; destination sendmail; };
log { source src; filter f_otherhost; destination other; };
log { source src; destination everything; };