From 9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 7 Aug 2023 09:34:19 +0000 Subject: add `log syslog facility' to use a different syslog(3) facility Was requested ages ago by Karl Jeacle, now that there is some better support for configuring the logging there's no excuse to add this. It helps with filtering from syslog.d / syslog.conf. --- gmid.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gmid.h') diff --git a/gmid.h b/gmid.h index 0ff9f6b..a29cfe4 100644 --- a/gmid.h +++ b/gmid.h @@ -249,6 +249,7 @@ struct conf { int prefork; int reload; int log_syslog; + int log_facility; char *log_access; enum log_format log_format; int use_privsep_crypto; @@ -332,6 +333,7 @@ enum imsg_type { IMSG_LOG_REQUEST, IMSG_LOG_ACCESS, IMSG_LOG_SYSLOG, + IMSG_LOG_FACILITY, IMSG_RECONF_START, IMSG_RECONF_LOG_FMT, -- cgit v1.2.3