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

Anwar El fatayri anwar.fatayri at hotmail.co.uk
Tue Jul 22 09:46:04 CEST 2014

 Any ideas ? 

El Fatayri Anwar


From: anwar.fatayri at hotmail.co.uk
To: syslog-ng at lists.balabit.hu
Date: Mon, 21 Jul 2014 10:47:01 +0200
Subject: [syslog-ng] Syslog-ng using an old Template

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


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140722/f8556888/attachment-0001.htm 

More information about the syslog-ng mailing list