On Fri, 2002-12-20 at 20:52, ext Alex Howansky wrote:
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?
Hi, Try putting the user and group in quotes, like this: - - - destination d_gb { file("/log/gb/$YEAR$MONTH$DAY" owner("log") group("log") ); }; - - - Hope This Helps! (This should probably be documented somewhere... At least there shouldn't be a non-working example of using group/owner-directives in the FAQ.) Mika -- # Mika S. Marjamäki <ext-Mika.S.Marjamaki@nokia.com> +358-40-536-9514 # Unix System Specialist, NRC Unix Team