From e9d89601f08beed975398a560bda265a470c6d1d Mon Sep 17 00:00:00 2001 From: Sergio Visinoni Date: Thu, 3 Jul 2014 20:12:53 -0500 Subject: Add support for syslog facility in pgqd Add support for defining the syslog facility we want pgqd to log to in the ini file, since this is supported in libusual. --- sql/ticker/pgqd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sql') diff --git a/sql/ticker/pgqd.c b/sql/ticker/pgqd.c index 67dca88e..b7aa437c 100644 --- a/sql/ticker/pgqd.c +++ b/sql/ticker/pgqd.c @@ -51,6 +51,7 @@ static const struct CfKey conf_params[] = { CF_REL("database_list", CF_STR, database_list, 0, NULL), CF_ABS("syslog", CF_INT, cf_syslog, 0, "1"), CF_ABS("syslog_ident", CF_STR, cf_syslog_ident, 0, "pgqd"), + CF_ABS("syslog_facility", CF_STR, cf_syslog_facility, 0, "daemon"), CF_REL("check_period", CF_TIME_DOUBLE, check_period, 0, "60"), CF_REL("maint_period", CF_TIME_DOUBLE, maint_period, 0, "120"), CF_REL("retry_period", CF_TIME_DOUBLE, retry_period, 0, "30"), -- cgit v1.2.3