Disable error.log in nginx log folder


#1

is there a way to disable the /var/log error.log file from generating it always makes my ssd full on my server :frowning:


#2

Instead of disabling it you should fix the issues it points out.

Anyways, you should edit your site and change from:

error_log /var/log/nginx/domain.com.error.log;

to:

error_log off;


#3

it doesn’t generate errors but only DEBUG info’s


#4