[syslog-ng]What's wrong with my syntax?

Allan Wind syslog-ng@lists.balabit.hu
Thu, 4 Mar 2004 19:01:11 -0500


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004-03-04T18:14:40-0500, Adam wrote:
> Can't work out why this is incorrect syntax.
>=20
> destination testlog {
> file("/var/log/testlog"
> template("$MONTH-$DAY-$YEAR $HOUR:$MIN:$SECOND $HOST $LEVEL $MSG")
> );
> };

Did you try $SEC instead of $SECOND?


/Allan
--=20
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFAR8NHuDtNyOwreTYRAv4VAJ9TvcxPvrRxWON5glsmlBd7h/SMIwCcDWaG
fwTlt1xrqr3hoICBCqwv+HQ=
=HAiT
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--