[syslog-ng]Problem with built in variables in syslog-ng

Achim Gsell syslog-ng@lists.balabit.hu
Wed, 30 Apr 2003 02:17:56 +0200


On Wednesday 30 April 2003 01:28, Glasser, Rob wrote:
> I'm banging my head here and can't figure out for the life of me what
> happened. I had everything working, and after packaging up the binaries
> into a solaris package and reinstalling via package to test the package,
> some of the built in variables do not work.  For example I have this
> destination statement:
>
> destination network_log {
>         file("/var/log/syslog-ng/$HOST/$FACILITY.$YEAR$MONTH$DAY"
>                 owner(root) group(root) perm(0600) dir_perm(0700)
> create_dirs(yes)
>         );
> };
>
> Before it worked correctly, I'd end up with a log entry like
> /var/log/syslog-ng/hostabc/auth.20030429
> Now I get: /var/log/syslog-ng/.29

This is a known bug in version 1.6.0rc2, update to version 1.6.0rc3.

Achim