Problem with error file

Ing. Ricardo SIFON rsifon at
Mon Feb 29 14:39:04 UTC 2016


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 extensión) in

Its content is:


[error] 6072#0: *27 open() "/cygdrive/c/nginx/html/robots.txt" failed (2: No
such file or directory), client:, server: localhost, request: "GET
/robots.txt HTTP/1.1", host: ""


The same message is repeated constantly.



-----Mensaje original-----
De: nginx [mailto:nginx-bounces at] En nombre de Maxim Dounin
Enviado el: lunes, 29 de febrero de 2016 10:55
Para: nginx at
Asunto: Re: Problem with error file


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
> 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

Maxim Dounin

nginx mailing list
nginx at

More information about the nginx mailing list