[syslog-ng] timestamp in log files

Balazs Scheidler bazsi at balabit.hu
Mon Nov 13 13:23:50 CET 2006


On Sun, 2006-11-12 at 22:37 -0200, Gustavo Mendes de Carvalho wrote:
> Hi there,
> 
> I don't know why, when I tried to use a template definition, I received 
> that error message, but when I used a template statement togheter with 
> destination statement, it was OK
> destination d_dest-name  { file("/var/log/file.log" template("$UNIXTIME 
> $ISODATE $HOST $MSG\n") );   };

Because the template declaration is new to 2.0.0 which I quoted as
documentation. You can find the 1.6.x documentation too on our website.

-- 
Bazsi



More information about the syslog-ng mailing list