My syslog-ng (2.0.2) client works fine with a tcp destination: destination centralLog { tcp("10.11.12.13" port(5432); template("$UNIXTIME $HOST $MESSAGE\n"); ); }; but gets a syntax error when I add localip() and localport(): destination centralLog { tcp("10.11.12.13" port(5432); localip(10.9.8.7) localport(5432); template("$UNIXTIME $HOST $MESSAGE\n"); ); }; I've tried various combinations of localip() & localport(), and also semicolons. Can anyone see what's wrong? Here's the entire syslog-ng.conf: options { long_hostnames(off); sync(0); }; source src { unix-stream("/dev/log"); internal(); }; source kernsrc { file("/proc/kmsg"); }; destination messages { file("/var/log/messages.$MON$DAY" owner(root) group(abcde) perm(0644)); }; destination centralLog { tcp("10.11.12.13" port(5432) localip("10.9.8.7"); localport(5432); template("$UNIXTIME $HOST $MESSAGE\n"); ); }; destination centralLog2 { tcp("10.21.22.23" port(5432) localip("10.9.8.7") localport(5432) template("$UNIXTIME $HOST $MESSAGE\n") ); }; log { source(src); source(kernsrc); destination(centralLog); destination(centralLog2); destination(messages); };