From e952c5052a0c524eee6d8151b1af96ce2c94ca18 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Tue, 15 Jun 2021 08:06:10 +0000 Subject: 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. --- gmid.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gmid.h') 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, }; -- cgit v1.2.3