[syslog-ng]syslogd to syslog-ng

Baltasar Cevc baltasar@cevc-topp.de
Fri, 19 Oct 2001 18:35:33 +0200


Hi, Dustin!

> in normal syslog i use *.=info;*.=notice;*.=debug;*.warn       /dev/tty12
> to have it dump to tty12 how can i do that in syslog-ng ?

Specify some source (called foobar here) and something like this:

filter f_tty12 {
   level (info, notice, debug, warn..panic);
};

destination d_tty12 {
   file ("/dev/tty12");
};

log { source (foobar); filter (f_tty12); destination (d_tty12);
};

In hope to have helped you.

bye.baltasar

::: B A L T A S A R   C E V C
mailto: baltasar@cevc-topp.de
Tel.: +49 89 99020515