[syslog-ng]odd problem

Chad C. Walstrom chewie@wookimus.net
Mon, 2 Apr 2001 16:19:04 -0500


--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 02, 2001 at 04:38:30PM -0400, jon@dumbo.pobox.com wrote:
> syslog-ng-1.4.11/
> libol-0.2.21/
>=20
> i guess i'll try upgrading....
>=20
> how does one log to multiple destinations without putting everything into=
 the same
> destination XXX {} container?
>=20
> i've tried seperate destinations
> ie...
> destination x { tcp(208.210.124.50 port(514)); }
> destinayion y { file("/var/log/ng/$HOST/$YEAR$MONTH$DAY/$FACILITY.$PRIORI=
TY" dir_perm(0755) perm(0644)) }
>=20
> and then in the log directive=20
> log {
>     source(src);
>     destination(x);
>     destination(y);
> }
>=20
> but that gives me errors

Try:
    log{ source(src); destination(x); };
    log{ source(src); destination(y); };

--=20
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint =3D B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD


--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6yOzIDMcLGCBsWv0RApZBAJ41l4w0hqU74Qaw79/z2VzVhDHzxACgqiq3
dyirQuMr5G48lDw7jbkQanI=
=azF+
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--