why hardcoded /var/log/nginx/error.log in pre-built packages?

Aziz Rozyev arozyev at nginx.com
Thu Mar 1 21:33:24 UTC 2018


it’s not hardcoded afaik.

check output of nginx -T perhaps it’s defined error_log directive somewhere..


br,
Aziz.





> On 1 Mar 2018, at 23:40, Daniel <dsd.trash at gmail.com> wrote:
> 
> Hello all,
> 
> can someone please explain to me why the location /var/log/nginx/error
> log is hardcoded in the official prebuilt packages?
> 
> Or why nginx -t checks if this file exists even if there is another
> location defined in the config file?
> 
> 
> Thank you.
> 
> Daniel
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list