[syslog-ng] strange problem when use "_" in the destination log file name

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Aug 4 08:40:35 CEST 2005


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....

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050804/b4c9bec1/attachment.pgp


More information about the syslog-ng mailing list