[syslog-ng]AIX 4.3.3 and pipe problem?

Balazs Scheidler bazsi@balabit.hu
Thu, 25 Apr 2002 11:03:54 +0200


On Wed, Apr 24, 2002 at 09:07:07AM -0400, Michael Earls wrote:
> i am running the pkg from debian /testing, 1.5.15. and i am trying to
> run this command. i created my fifo pipe and i am not seeing anything
> being posted there.  
>  
> what am i doing wrong?
>  
> destination d_mysql {
>     pipe("/tmp/mysql.pipe"
>     template("INSERT INTO logs (host, facility, priority, level, tag,
> date,
>     time, program, msg) VALUES ('$HOST',
> '$FACILILITY','$PRIORITY',$LEVEL','$TAG','$YEAR-$MONTH-$DAY','$HOUR:$MIN:$SEC','$PROGRAM','$MSG');\n")
> template-escpae(yes));
>     };
> log { source(net); destination(d_mysql);
>     };

Can you strace the process as it receives a single message?

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1