[syslog-ng] Syslog-ng & pipe question
syslogyk
syslogyk at yandex.ru
Thu Jan 26 14:39:58 CET 2006
Hi!
Could you please help me with this question?
I have the following strings in my syslog-ng.conf:
source src {
internal();
unix-dgram("/dev/log");
unix-dgram("/var/lib/named/dev/log");
};
... skipped ...
filter f_debug { level(debug); };
destination d_yuri { pipe("/dev/yuri_pipe"); };
log {
source(src);
filter(f_debug);
destination(d_yuri);
};
With this configuration, I execute the following commands in the first console:
mkfifo /dev/yuri_pipe
cat /dev/yuri_pipe
On the other console I generate an event (for instance, "logger blablabla"). And cat /dev/yuri_pipe on the first console outputs nothing.
What's wrong in my syslog-ng.conf? Can I get events in my pipe?
Thank you in advance,
Yuri
P.S. Sorry, if you receive this message twice.
More information about the syslog-ng
mailing list