9 Feb
2005
9 Feb
'05
10:23 a.m.
On Tue, 2005-02-08 at 15:35 -0800, Jay 'Whip' Grizzard wrote:
Okay, perhaps I'm an idiot, but with a freshly downloaded and compiled syslog-ng 1.6.6, I get the following:
syslogng.conf (one line long):
destination d_tcp { tcp("10.1.2.3") port(1999); localport(999)); };
(which is, you'll notice, copied directly out of the docs)
apart from the wrong pairing of parens, the ';' is at the wrong place there. I fixed the documentation, it should be something like: destination d_tcp { tcp("10.1.2.3" port(1999) localport(999)); }; syslog-ng parses the line above just fine. (note that localport() does not usually need to be specified unless you want syslog-ng to bind to a fixed port when sending messages) -- Bazsi