Problem with error file

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


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 extensión) 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:nginx-bounces at nginx.org] En nombre de Maxim Dounin
Enviado el: lunes, 29 de febrero de 2016 10:55
Para: nginx at nginx.org
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 http://nginx.org/r/error_log.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list