[syslog-ng]$HOST $YEAR, etc not working correctly..
Balazs Scheidler
syslog-ng@lists.balabit.hu
Thu, 26 Feb 2004 12:50:21 +0100
2004-02-25, sze keltezéssel 21:19-kor Doug Peterson ezt írta:
> Hi Chuck --
>
> How do you specify your options then if the only entry in destination is file() ?
>
> I tried doing this:
>
> destination messages.network {
> file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/messages\_$HOST\_$YEAR\_$MONTH\_$DAY" );
> owner(root) group(sysadmin) perm(0640) dir_perm(0700)
> create_dirs(yes) };
>
> but got syntax errors.
you are missing a closing paren.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1