29 May
2005
29 May
'05
5:22 p.m.
On Sun, 29 May 2005 14:46:49 BST, "Colin O'Keeffe" said:
I get
syntax error at 132 Parse error reading configuratin file, exiting. (line 132)
destination d_mysql { pipe("/tmp/mysql.pipe" template("INSERT INTO logs VALUES('$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY', '$HOUR:$MIN:$SEC', '$PROGRAM', '$MSG');\n") template-escape(yes)); }; log {source; destination(d_mysql); };
I'm guessing that the 'log' is line 132? Maybe you need something after the 'source' telling it *which* source? "source(s_all);" may be what you meant to have here?