[syslog-ng] Strange template definition problem

Balazs Scheidler bazsi at balabit.hu
Thu Feb 5 10:52:06 CET 2009


On Thu, 2009-01-22 at 20:00 +0100, Peter Eckel wrote:
> Hi,
> 
> I am currently using the Open Source edition of syslog-ng 
> version 3.0.1 on RedHat Linux 5.3 and 3.9. So far, there are not 
> too many problems, but one strangeness occurs when defining templates.
> 

you were right, sorry that it took so long for me to fix this issue.

This patch fixes it:

commit 60aeab750e952b3a69714ea47e2aa31683c761fd
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Thu Feb 5 10:50:45 2009 +0100

    fixed the references for non-inline templates
    
    this patch fixes template expansion for non-inline templates. The parser code
    caused these templates to be compiled as many times as they were referenced,
    which in turn concatenated the previously compiled value and the currently
    compiled value.

I've just pushed it to git.balabit.hu in the syslog-ng-3.0 repo. Tomorrow's snapshot 
should contain the fix.

-- 
Bazsi



More information about the syslog-ng mailing list