diff options
author | Omar Polo <op@omarpolo.com> | 2021-06-15 08:06:10 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-06-15 08:06:10 +0000 |
commit | e952c5052a0c524eee6d8151b1af96ce2c94ca18 (patch) | |
tree | 3c665c8c70aea37cf73c6ea38463552a5f6d8ec7 /gmid.h | |
parent | 0f2124e29194b42209e879a539e35d295f525311 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -296,6 +296,7 @@ enum imsg_type { IMSG_FCGI_REQ, IMSG_FCGI_FD, IMSG_LOG, + IMSG_LOG_TYPE, IMSG_QUIT, }; |