25 Mar
2009
25 Mar
'09
12:02
Sylvester Lykkehus wrote:
Hi list,
How can i get the year included in the timestamps of log files ?
Just write the right template in /etc/syslog-ng/syslog-ng: template("$ISODATE $HOST $MSG\n")
I would like it to look something like this: Mar 25 2009 10:40:26 SoliD syslog-ng[1801]: STATS: dropped 0
Look up the manual for syslog-ng, I'm sure there's a way to add the year like that. /Per -- Per Jessen, Zürich (4.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org