From: anwar.fatayri@hotmail.co.uk
To: syslog-ng@lists.balabit.hu
Date: Mon, 21 Jul 2014 10:47:01 +0200
Subject: [syslog-ng] Syslog-ng using an old Template
Hey,
I was using this template for my tests :
template t_lyraJBossFormat {
template("${DATE} ${FULLHOST} jboss_vad - ------------ - SD : ${SDATA} -
------------ - MSG : ${MSGONLY}\n");
template_escape(no);
};
This template is a Format that I use for JBoss Logs. The syslog packet (IETF) is created and then sent to syslog-ng via a named pipe.
After Debugging all the problems, the following template was created to be used for all Jboss Logs :
template t_lyraJBossFormat {
template("${DATE} ${FULLHOST} jboss_vad - ${SDATA} - ${MSGONLY}\n");
template_escape(no);
};
The problem is that syslog-ng is still using the old template. (I restarted the syslog-ng service of course)
Any ideas ?
Thanks in advance.
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq