aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-07 09:34:19 +0000
committerOmar Polo <op@omarpolo.com>2023-08-07 09:34:19 +0000
commit9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf (patch)
treeaa8a290791923b5de38b226bf4d942d0081d670f /gmid.h
parent3a93c90445bc762cbef00d130feffd9a7f6b083f (diff)
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.
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h2
1 files changed, 2 insertions, 0 deletions
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,