logo       

Re: What's wrong with my syntax?: msg#00025

syslog-ng

Subject: Re: 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

Attachment: signature.asc
Description: Digital signature

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

News | FAQ | advertise