diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-07 09:34:19 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-07 09:34:19 +0000 |
commit | 9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf (patch) | |
tree | aa8a290791923b5de38b226bf4d942d0081d670f /gmid.h | |
parent | 3a93c90445bc762cbef00d130feffd9a7f6b083f (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |