[syslog-ng]Am I an idiot? (tcp destinations)

Jay 'Whip' Grizzard syslog-ng@lists.balabit.hu
Wed, 9 Feb 2005 10:08:49 -0800


Yeah, I typoed transferring the config line to my mailer.

The line as it actually appears in my test config file is:

destination d_tcp { tcp("10.1.2.3" port (1999); localport(999)); };

... which has matching parentheses, and should exactly match the example
line given in the documentation. This -should- work, yes? Or does the
documentation have a typo as well?

-jay 

> Hello Jay,
> 
> there is a wrong double closing bracket at the localport definition.
> 
> > 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)); };