[syslog-ng] timestamp in log files
Gustavo Mendes de Carvalho
gmcarvalho at gmail.com
Mon Nov 13 01:23:39 CET 2006
Hi there,
I found minimum version, and I'm using version 1.6.5 for Debian Sarge,
but I receive this message when I try to start syslog-ng
Parse error reading configuration file, exiting. (line 39)
start failed.
My line 39 is
template t_name { template("$UNIXTIME $ISODATE $ HOST $MSG\n"); };
What is wrong in this line ?
Regards
Gustavo
Gustavo Mendes de Carvalho escreveu:
> Hi Balazs
>
> Which minimum syslog-ng version is needed to use template statement ?
>
> Thnaks in advance
>
> Gustavo
>
> Balazs Scheidler escreveu:
>> you need the $UNIXTIME macro, see
>> http://www.balabit.hu/products/syslog-ng/reference-2.0/syslog-ng.html/index.html#macros
>>
>>
>>
>
>
--
Gustavo Mendes de Carvalho
gmcarvalho at gmail.com
More information about the syslog-ng
mailing list