aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-15 08:06:10 +0000
committerOmar Polo <op@omarpolo.com>2021-06-15 08:06:10 +0000
commite952c5052a0c524eee6d8151b1af96ce2c94ca18 (patch)
tree3c665c8c70aea37cf73c6ea38463552a5f6d8ec7 /gmid.h
parent0f2124e29194b42209e879a539e35d295f525311 (diff)
allow sending fd to log on to the logger process
the logger process now can receive a file descriptor to write logs to. At the moment the logic is simple, if it receives a file it logs there, otherwise it logs to syslog. This will allow to log on custom log files.
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index ee4152f..a013af5 100644
--- a/gmid.h
+++ b/gmid.h
@@ -296,6 +296,7 @@ enum imsg_type {
IMSG_FCGI_REQ,
IMSG_FCGI_FD,
IMSG_LOG,
+ IMSG_LOG_TYPE,
IMSG_QUIT,
};