Problem with error file
Maxim Dounin
mdounin at mdounin.ru
Mon Feb 29 13:54:33 UTC 2016
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/
More information about the nginx
mailing list