[syslog-ng] strange problem when use "_" in the destination
log file name
Arnold Wang
arnold.wang at inovis.com
Thu Aug 4 18:20:58 CEST 2005
I'm worrying about this as well. I noticed "_" is used a lot in macros
and there is one called "$HOST_FROM".
Maybe I found a bug?
On Thu, 2005-08-04 at 02:40 -0400, Valdis.Kletnieks at vt.edu wrote:
> On Wed, 03 Aug 2005 16:01:05 PDT, Arnold Wang said:
>
> > ng/HOSTS/$HOST/$YEAR/$MONTH/$HOST_$MONTH$DAY.log" owner(root) group
> > (root) perm(0600) dir_perm(0700) create_dirs(yes)); };
> > However, the log file generated by the syslog-ng for today is named
> > "0803.log", which is different than "hostname_0803.log" as I expected.
>
> I wonder if it's looking for a variable called HOST_ and not finding it,
> because the variable's name is HOST without the _ character....
>
More information about the syslog-ng
mailing list