[syslog-ng]Program destination never executes

Chris Robertson syslog-ng@lists.balabit.hu
Thu, 7 Aug 2003 14:10:26 -0700


I hoping that someone can point out what I'm doing wrong here.  I have the
following configuration in my syslog-ng.conf file but the program referenced
in d_mysql_prog is never executed (I've tried a simple version that just
outputs to a file as well).  Note the file gets all the messages properly
and I've cut out the non-relevant sections of the config.

source src { pipe("/proc/kmsg"); unix-stream("/dev/log"); internal(); };
source net { udp(ip("0.0.0.0") port(514)); };

destination d_file {
        file ("/tmp/syslog");
        };

destination d_mysql_prog {
        program ("/root/syslog2.pl");
        };

log { source(net);destination(d_mysql_prog); };
log { source(src);destination(d_mysql_prog); };

log { source(src);destination(d_file); };
log { source(net);destination(d_file); };

Thanks,
Chris