I have tried to Disable the error log file creation process through htaccess file using below code. But, its displayed “internal server error” in Plesk server.
php_flag log_errors off
So, updated settings as like below to Disable and Enable the error log in Plesk server.
If you would like to disable logging you may need to add it to the additional apache/nginx configuration found in
“Plesk >> Domains >> Domain in question >> Apache & nginx Settings >> Additional Apache
Directives”
OR, change the error logging in your PHP settings (“Plesk >> Domains >> Domain in
question >> PHP Settings >> error_reporting” ) to reduce what is logged. I have did through this option.
Please find the below image for more information.
Enable and Disable error log in Plesk server 1
Enable and Disable error log in Plesk server 2
Thank you.