Hello Jay, there is a wrong double closing bracket at the localport definition. Jörg On Tue, 8 Feb 2005 15:35:18 -0800 Jay 'Whip' Grizzard <elfchief-syslogng@lupine.org> 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)
But I get:
: [elfchief@bluetail /tmp]% /sbin/syslog-ng --cfgfile=/tmp/syslogng.conf --syntax-only : syntax error at 1 : Parse error reading configuration file, exiting. (line 1)
... and no matter what I put in there (I tried a lot of permutations, and even cut&pasted bits of other people's configs I saw in the mailing list archives), I can't seem to get the option to parse. Am I missing something fundamental here? Given that this is the one feature I'd really like to use syslog-ng for, it'd be nice if I could get it to work!
I appreciate any thoughts anyone cares to share...
-jay _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
-- Joerg Michels teamnet GmbH Voice +49 5251 879293 30 Technologiepark 20 Fax +49 5251 879293 99 D-33100 Paderborn EMail michels@teamnet.de