logo       

What's wrong with my syntax?: msg#00022

syslog-ng

Subject: What's wrong with my syntax?

Using Syslog 1.4.17. Can't work out why this is incorrect syntax.

destination testlog {
file("/var/log/testlog"
template("$MONTH-$DAY-$YEAR $HOUR:$MIN:$SECOND $HOST $LEVEL $MSG")
);
};

Commenting out the template line causes it to run fine, yet this looks
exactly like the syntax I see in the samples and documentation?
_______________________________________________
syslog-ng maillist - syslog-ng@xxxxxxxxxxxxxxxx
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise