20 Dec
2002
20 Dec
'02
7:38 p.m.
According to the docs/faq, I should be able to do this:
destination d_gb { file("/log/gb/$YEAR$MONTH$DAY" owner(log) group(log)); };
But when starting, I get:
Starting syslog-ng: parse error at 51 Parse error reading configuration file, exiting. (line 51)
What am I missing?
Maybe you're missing a semicolon on the line before?
Nope, but if I replace that line with this one: destination d_gb { file("/log/gb/$YEAR$MONTH$DAY"); }; It works just fine, although the file is root:root... And yes, the log user and log group exist. :) Sorry, should have mentioned those things in the first place. -- Alex Howansky Wankwood Associates http://www.wankwood.com/