diff options
| author | Sergio Visinoni | 2014-07-04 01:12:53 +0000 |
|---|---|---|
| committer | Sergio Visinoni | 2014-07-04 01:12:53 +0000 |
| commit | e9d89601f08beed975398a560bda265a470c6d1d (patch) | |
| tree | cc904830887ff1ff52bf93ec13ebb736c308f48d /sql | |
| parent | a0f3c0e169ad19ab8486bbb95855132550f905c2 (diff) | |
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.
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/ticker/pgqd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"), |
