NGINX looks for /logs/error.log as default?
kasperg at benjamin.dk
Thu Oct 25 08:44:50 UTC 2012
2012/10/22 Valentin V. Bartenev <ne at vbart.ru>
> On Monday 22 October 2012 16:01:17 Kasper Grubbe wrote:
> > Hello, I have a problem with NGINX version 1.2.4 it will constantly look
> > for /logs/error.log, even though I have defined another error.log in my
> > configuration.
> > But NGINX don't want to start because ./logs/error.log doesn't exist.
> > is my error:
> > [ben2 (master)]=> nginx -p . -c config/nginx/development.conf
> > nginx: [alert] could not open error log file: open() "./logs/error.log"
> > failed (2: No such file or directory)
> > Am I doing it wrong?
> Nginx must have access to error log before it will parse configuration.
> See also the "--error-log-path=" configure parameter.
> wbr, Valentin V. Bartenev
> nginx mailing list
> nginx at nginx.org
Oh, that makes sense. Then I am not able to make a smart setup that I
wanted. Thanks for your email.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx