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

Dan Edwards syslog-ng@lists.balabit.hu
Tue, 29 Apr 2003 20:32:12 -0400


I had this problem with RC2, never looked at why just found that
snapshot from 4/18 fixed it, surprised it returned in another final
build.

Dan Edwards
Network Specialist
A. Duda & Sons, Inc.

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Achim Gsell
Sent: Tuesday, April 29, 2003 8:18 PM
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]Problem with built in variables in syslog-ng

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
_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html