[syslog-ng]Template configuration problem
Achim Gsell
syslog-ng@lists.balabit.hu
Tue, 1 Apr 2003 19:08:30 +0200
On Tuesday 01 April 2003 14:36, Jan-Peter Koopmann wrote:
> I am having serious trouble with templates. This is what I have in my
> syslog-ng.conf
>
> destination test {
> file ("test"
> template("$ISODATE $HOST $MSG\n")
> template_escape(yes)
> );
> };
>
> I always get a parse error in the
>
> template("$ISODATE $HOST $MSG\n")
>
> line. I am running the FreeBSD port of syslog-ng version 1.6.0rc1.
Mmmh, the declaration seems to be OK - I copy paste it into a file and
"syslog -s -f test.conf" doesn't complain about it. Can you please post the
hole configuration file? May be the error is somewhere else.
Achim