[syslog-ng] underscore issue
Geller, Sandor (IT)
Sandor.Geller at morganstanley.com
Mon Jan 5 11:36:45 CET 2009
Hi,
> >> I would prefer to use an underscore if I could.
> >>
> >
> > Use ${VARIABLE1}_${VARIABLE2} and so on.
> >
> with $[VARIABLE] like:
> destination r_messages { file
> ("/logpool/logs/$DAY$MONTH$YEAR/$[HOST]_$[DAY]$[MONTH]$[YEAR]_
> $[HOUR]");
> };
> # ls /logpool/logs/05012009/
> [HOST]_[DAY][MONTH][YEAR]_[HOUR]
${} is the proper format just like in sh, perl, etc.
Regards,
Sandor
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
More information about the syslog-ng
mailing list