10 May
2010
10 May
'10
4:19 p.m.
On Tue, 2010-04-20 at 12:38 +0200, Zoltán Pallagi wrote:
Hi,
Replace $HOST_syslog.log to $HOST-syslog.log and it will work. Syslog-ng seems to be handling wrong if underscore character is after macroname. Report a bug about it, please (https://bugzilla.balabit.com/)
this is not a bug, '_' is permitted in the name of a macro, thus $HOST_ is an - undefined - macro that syslog-ng expands to its value: nothing. you should use ${HOST} if you want to use the '_' This is the same as the UNIX shell behaviour btw. -- Bazsi