Welcome! Log In Create A New Profile

Advanced

Sending nginx errors to syslog but fuser -u still shows error file open by nginx

CJ Ess
April 20, 2016 09:26AM
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 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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Sending nginx errors to syslog but fuser -u still shows error file open by nginx

CJ Ess April 20, 2016 09:26AM

Re: Sending nginx errors to syslog but fuser -u still shows error file open by nginx

Robert Paprocki April 20, 2016 09:52AM

Re: Sending nginx errors to syslog but fuser -u still shows error file open by nginx

CJ Ess April 20, 2016 10:48AM

Re: Sending nginx errors to syslog but fuser -u still shows error file open by nginx

Maxim Dounin April 20, 2016 11:54AM

Re: Sending nginx errors to syslog but fuser -u still shows error file open by nginx

CJ Ess April 20, 2016 11:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 331
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready