[syslog-ng] [Bug 120] New: afsql. c afsql_dd_format_* routines should include table in persist_name string

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu May 12 01:24:03 CEST 2011


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

           Summary: afsql.c afsql_dd_format_* routines should include table
                    in persist_name string
           Product: syslog-ng
           Version: 3.2.x
          Platform: Other
               URL: https://lists.balabit.hu/pipermail/syslog-ng/2011-
                    February/015913.html
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: jtk at cymru.com
Type of the Report: bug
   Estimated Hours: 0.0


Created an attachment (id=36)
 --> (https://bugzilla.balabit.com/attachment.cgi?id=36)
include table name in persist_name 

As originally discovered in the syslog-ng list post entitled
"[syslog-ng] duplicate config elements in sql destinations" by John
Kristoff on 2011-02-11, syslog-ng will complain, when multiple
destinations all point to the same database, but different tables
with the message:

  Internal error, duplicate configuration elements refer to the same
  persistent config; name='afsql_dd(pgsql,127.0.0.1,,bar)'

Balazs responded describing the potential problems with counters
being swapped and a fix that appears to work in testing.  A Patch for
syslog-ng 3.2.4 is attached, but  similar patch should work for
earlier versions as indicated by Balazs' posting.

Thank you,

John


-- 
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