[syslog-ng] elso kerdes :) (fwd)
Boda Karoly jr.
woockie@cyberspace.mht.bme.hu
Thu, 22 Jul 1999 11:34:02 +0200 (CEST)
Udvozletem mindenkinek !
Uj vagyok a listan, kezdem is egy kerdessel :)
adott a kovetkezo konfigreszlet:
source src { unix-stream("/dev/log"); internal(); };
source net { udp(); };
destination console_all { file("/dev/tty13"); };
destination mailconsolerhye { file("/dev/tty22"); };
destination mailconsolerusalka { file("/dev/tty23"); };
destination rusalkalog { file("/dev/tty24"); };
filter f_mail { facility(mail); };
filter n_mail {not facility(mail); };
log { source(src); filter(n_mail); destination(console_all); };
log { source(src); filter(f_mail); destination(mailconsolerhye); };
log { source(net); filter(f_mail); destination(mailconsolerusalka); };
log { source(net); filter(n_mail); destination(rusalkalog); };
A kerdes a kovetkezo:
A /dev/tty23-ra miert kerul az _osszes_ maillog, az is, ami a src-bol
van ? A /dev/tty22 jol mukodik, oda csak a megfelelo mailuzenetek
kerulnek. A /dev/tty13 es a /dev/tty24 szinten jol mukodnek, nem
kerulnek oda a maillogok.
--
Woockie
..."what is there in this world that makes living worthwhile?"
Death thought about it. "CATS," he said eventually, "CATS ARE NICE."
(Terry Pratchett, Sourcery)