I’ve tried putting this directive into the nginx config file in both the
main and html sections:
error_log syslog:server=127.0.0.1,facility=local5 error;
The file tests fine and reloads without issue, however if I do fuser -u
the error file (which is the same one used by syslog) I see that every
nginx process has it open. Is there anyway to be sure that errors are
written by syslog and not the nginx process itself?