[syslog-ng]hosts... today's stupid question :}

Balazs Scheidler bazsi@balabit.hu
Thu, 11 Apr 2002 09:26:17 +0200


On Thu, Apr 11, 2002 at 08:18:51AM +0800, bretwatson@charteredsemi.com wrote:
> Hi Bazsi,
> but it is listed as a valid macro and digging through the code it is
> actually there as in the macroexpansion proc...
> 
> does that mean not all macro identifiers are currently being expanded?
> Which ones are valid?

> > destination host { file("/usr/log1/$HOST/$YEAR$MONTH$DAY" owner(root)  group(logusers) perm(0640) dir_perm(0755)); };
                ^^^^

macros are not reserved words, I meant the name of your destination.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1