[syslog-ng] duplicate config elements in sql destinations

John Kristoff jtk at cymru.com
Fri Feb 11 22:04:26 CET 2011


I have a syslog-ng.conf that contains multiple destination sections
that all begin like this:

  destination d_sql_[foo] {
      sql(
          type(pgsql)
          host("127.0.0.1")
          database("bar")
          ...

"[foo]" differs between each section as well as the table name, columns
and values.  However, syslog-ng complains with the following:

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

Things appear to work, but apparently syslog-ng is confused by the
duplicate database destination, even if the tables are different.  Is
this merely cosmetic or does this have wider implications?  Perhaps
they each end up sharing the same fifo buffer when they shouldn't for
instance?

John


More information about the syslog-ng mailing list