28 Feb
2001
28 Feb
'01
6:43 p.m.
Hello, I have following configuration on my machine: source logdev { unix-stream("/dev/log"); }; destination foo { program("/home/foo/.bin/loglogs.pl"); }; filter f_foo { not priority(debug) and not facility(mail); }; log { source(logdev); filter(f_foo); destination(foo); }; File /home/foo/.bin/loglogs.pl come as follows: #!/usr/bin/perl open FOO, ">/tmp/loglog.log"; while ( <STDIN> ) { print FOO $_; } close FOO; Could anybody tell why file /tmp/loglog.log stays empty no matter what I do? Greets, --Maciek -- __ Maciek Pasternacki <maciekp@japhy.fnord.org> [ http://japhy.fnord.org/ ] `| _ |_\ / *CENSORED* ( full version at http://japhy.fnord.org/sig.txt ) ,|{-}|}| }\/ \/ |____/