4 Mar
2004
4 Mar
'04
11:14 p.m.
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?
5 Mar
5 Mar
12:01 a.m.
On 2004-03-04T18:14:40-0500, Adam wrote:
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") ); };
Did you try $SEC instead of $SECOND? /Allan -- Allan Wind P.O. Box 2022 Woburn, MA 01888-0022 USA
7841
Age (days ago)
7842
Last active (days ago)
1 comments
2 participants
participants (2)
-
Adam
-
allanwind@lifeintegrity.com