I have a website that uses the fact the apache will redirect to a different file/script when a file is not found. Example: if file test.php does not exist (404 error) then run 404error.php The problem is in the error_log there are tens of thousands of error line for the "file not found or stat" so it is tough to find the important stuff. I know I can change levels from warn to crit but then it does not have anything show up Any ideas on how to exlude just the one error script '/var/www/vhosts/domain.com/httpdocs/filename.html' not found or unable to stat from logging into the apache logs?
make sure the file /var/www/vhosts/domain.com/httpdocs/filename.html is around. That should stop those errors from generating.