The file tests fine and reloads without issue, however if I do fuser -u
on
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
being
written by syslog and not the nginx process itself?
Yes, I went as far as to stop nginx altogether, manually verify there
are
no nginx processes running, then start it again and it opens the error
log
first thing.
The file tests fine and reloads without issue, however if I do fuser -u on
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 being
written by syslog and not the nginx process itself?
At least one file-based error log must be present. In particular,
it is used to redirect STDERR (as in some cases written to by
various libraries), and it is also believed to be useful to log
errors of writing to syslog when they happen. If no file-based
logs are configured, a compiled-in default one will be used.