[syslog-ng] [Bug 149] patterndb action message does not do variable substitution

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sat Dec 17 20:26:17 CET 2011


https://bugzilla.balabit.com/show_bug.cgi?id=149


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |FIXED
             Status|NEW                         |RESOLVED




--- Comment #7 from Balazs Scheidler <bazsi at balabit.hu>  2011-12-17 20:26:17 ---
This patch should fix this behaviour (but at the same time it is an incompatible change for those who worked around the previous broken behaviour)

commit 97353039a7441090a49e6002a6bbe38f5b8a0e52
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sat Dec 17 20:22:07 2011 +0100

    dbparser: fixed message indexing in action rules with no correllation (incompatible)

    Actions that are attached to rules having context-id (e.g. correllation),
    use @0 for the message being generated and @1 the last message in
    the context.

    This is inconsistent with rules that have no correllation, where @0 was the
    triggering message.

    This patch fixes this behaviour, but at the same time it is incompatible
    with previous versions.

    Reported-By: Evan Rempel <erempel at uvic.ca>
    Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list