Welcome! Log In Create A New Profile

Advanced

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

Aziz Rozyev
March 01, 2018 04:34PM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Daniel March 01, 2018 03:42PM

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

Aziz Rozyev March 01, 2018 04:34PM

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

Valentin V. Bartenev March 02, 2018 02:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready