[syslog-ng] [patch] log messages duplicated with syslog-ng version 3.0.1

chris packham chris.packham at alliedtelesis.co.nz
Fri Feb 6 01:58:48 CET 2009


OK thanks Bazsi. We'll pull down your changes. 
I must have missed the earlier message.

>>> Balazs Scheidler <bazsi at balabit.hu> 02/05/09 11:11 PM >>>
On Mon, 2009-02-02 at 11:18 +1300, chris packham wrote:
> Hi,
> 
> We were looking at migrating our system to use syslog-ng 3.0.1 and found that with our configuration we ended up with duplicated log messages. After some investigation this turned out to be a problem in the way templates were compiled.
> 
> Attached is a patch that addresses this.

you are right, but the same issue was reported the Peter Eckel. I've
fixed this as a reply to his message, and also pushed a similar patch:


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.


-- 
Bazsi

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html




More information about the syslog-ng mailing list