Maxim,
I’m Sorry, I have made a mistake.
As you say, the line called: error_log is in “off” in config file.
The file that I have problems is called: off (without extensin) in
C:\nginx.
Its content is:
…
[error] 6072#0: *27 open() “/cygdrive/c/nginx/html/robots.txt” failed
(2: No
such file or directory), client: 10.0.0.1, server: localhost, request:
“GET
/robots.txt HTTP/1.1”, host: “10.0.0.50”
…
The same message is repeated constantly.
Regards,
Ricardo
-----Mensaje original-----
De: nginx [mailto:[email protected]] En nombre de Maxim D.
Enviado el: lunes, 29 de febrero de 2016 10:55
Para: [email protected]
Asunto: Re: Problem with error file
Hello!
On Mon, Feb 29, 2016 at 09:47:30AM -0300, Ing. Ricardo SIFON wrote:
In the root directory of nginx (c:\nginx), a file called “error” is
generated. The size of this file grows too, causing the hard drive runs
out
of free space.
Attachment my config file of nginx (nginx.conf).
Are you sure it’s called “error”? According to your
configuration, it should be called “off”:
…
error_log off;
…
Note that “off” isn’t a special value for the error_log directive.
To reduce logging of errors consider tuning the logging level
instead, see Core functionality.
–
Maxim D.
http://nginx.org/
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx