[syslog-ng]$HOST $YEAR, etc not working correctly..

Kelly, Chuck syslog-ng@lists.balabit.hu
Tue, 24 Feb 2004 14:53:26 -0800

 I left off something on the end as well.

destination messages.network {
_$DAY"); };


-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Doug Peterson
Sent: Tuesday, February 24, 2004 2:43 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]$HOST $YEAR, etc not working correctly..

Howdy, I recently installed the same config file I had in 1.6.0rc1(or
rc2?) on redhat 7.3 to a system with syslog-ng 1.6.2 with redhat 9...

My log files are not being written in the format that I would expect (or
that they WERE on the old box)..=20

I would expect the following rule to write to the

Instead I get:

The rule: destination messages.network {
group(sysadmin) perm(0640) dir_perm(0700)
create_dirs(yes) ); };

This happens with all similar destination rules. The $year, $month,
$host, etc work fine in the first portion of the destination, but they
don't all work in the filename.. but $day does for some strange reason.=20

I can provide my full 164 line config file on request, but all
destinations are setup the same as this one, and all get the same

What am I missing here? :)

Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html