Enable and Disable error log file in Plesk server

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


Enable and Disable error log in Plesk server 2

enable-and-disable-error-log-in-plesk-server-2

Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *