[syslog-ng] Syslog-ng using an old Template

Anwar El fatayri anwar.fatayri at hotmail.co.uk
Mon Jul 21 10:47:01 CEST 2014




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.
El Fatayri Anwar


 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140721/1a192416/attachment.htm 


More information about the syslog-ng mailing list