Re: [syslog-ng]What's wrong with my syntax?
5 Mar
2004
5 Mar
'04
12:31 a.m.
Did you try $SEC instead of $SECOND?
I've actually tested it with template("") to see if the mistake was in that part of the syntax. Still had the same error, also tried the same config file under syslog-ng 1.6.2 to no avail.
5 Mar
5 Mar
1:19 a.m.
New subject: What's wrong with my syntax?
Here is an example from the docs: destination d_file { file("/var/log/$YEAR.$MONTH.$DAY/messages" template("$HOUR:$MIN:$SEC $TZ $HOST [$LEVEL] $MSG $MSG\n") template_escape(no) ); }; try change the file, then try morph towards what you had (the newline i.e. \n might be significant). /Allan -- Allan Wind P.O. Box 2022 Woburn, MA 01888-0022 USA
7841
Age (days ago)
7841
Last active (days ago)
1 comments
2 participants
participants (2)
-
Adam
-
allanwind@lifeintegrity.com