[syslog-ng] [Bug 107] New: when trying to log to postgres database if port is not specified it gets defaulted to 0

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Jan 6 01:14:49 CET 2011


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

           Summary: when trying to log to postgres database if port is not
                    specified it gets defaulted to 0
           Product: syslog-ng
           Version: 3.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: jhnsmth64 at gmail.com
Type of the Report: bug
   Estimated Hours: 0.0


syslog-ng.conf

...
destination d_pgsql {
  sql(type(pgsql)
  host("localhost") username("user") password("pass")
  ...
};
...

If destination stays defined like above, without port specified explicitly, syslog sends log messages to port 0 instead defaulting port to the Postgres port
(5432).

Destination settings below works:
...
destination d_pgsql {
  sql(type(pgsql)
  host("localhost") port(5432) username("user") password("pass")
  ...
};
...


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