- Plesk 12.5 for Linux
- Plesk 11.x for Linux
file is being filled very fast, it has huge size and takes a lot of space on a server. Log files contains the following errors:
PHP message: PHP Warning: feof() expects parameter 1 to be resource, null given in /var/www/vhosts
PHP Notice: Use of undefined constant subcat - assumed 'subcat' in /var/www/vhosts/mittalmachinery.com/httpdocs/right_menu.php on line 54
Too many errors are written to a log file due to incorrect website coding. And
file for a domain logs all actions, including warnings and notices.
Contact web-developer to fix the issue with website coding
To exclude php warnings from being written to logs, modify
error_reportingvalue for PHP Settings for a domain:
Domains > example.com > PHP Settings
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
This value will exclude warnings and notices from being logged.
#214028749 How to set error_reporting option in PHP settings page