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

Joerg Michels syslog-ng@lists.balabit.hu
Wed, 9 Feb 2005 08:35:27 +0100


--Signature=_Wed__9_Feb_2005_08_35_27_+0100_rxFpE1Rj4GID4VYK
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Jay,

there is a wrong double closing bracket at the localport definition.


J=F6rg


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:
>=20
> syslogng.conf (one line long):
>=20
> destination d_tcp { tcp("10.1.2.3") port(1999); localport(999)); };
>=20
>=20
>=20
> (which is, you'll notice, copied directly out of the docs)
>=20
> But I get:
>=20
> : [elfchief@bluetail /tmp]% /sbin/syslog-ng --cfgfile=3D/tmp/syslogng.con=
f --syntax-only
> : syntax error at 1
> : Parse error reading configuration file, exiting. (line 1)
>=20
>=20
>=20
> ... and no matter what I put in there (I tried a lot of permutations, and=
=20
> even cut&pasted bits of other people's configs I saw in the mailing list=
=20
> 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=
=20
> like to use syslog-ng for, it'd be nice if I could get it to work!
>=20
> I appreciate any thoughts anyone cares to share...
>=20
> -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
>=20


--=20
Joerg Michels        =20
                               =20
teamnet GmbH            Voice  +49 5251 879293 30=20
Technologiepark 20      Fax    +49 5251 879293 99
D-33100 Paderborn       EMail  michels@teamnet.de

--Signature=_Wed__9_Feb_2005_08_35_27_+0100_rxFpE1Rj4GID4VYK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCCb1FLd9HLvpqlLIRAouxAJ0V2M2uiBhX+VDwXVAuJ1njgjzMogCgvEUC
PW/9l6BI7lFKyafVgY3Fe4s=
=bjSR
-----END PGP SIGNATURE-----

--Signature=_Wed__9_Feb_2005_08_35_27_+0100_rxFpE1Rj4GID4VYK--