I've gone through the trouble of blocking a number of bots that are trying to crawl our site. The issue now is that the following error is taking over the apache error log:
client denied by server configuration
I was hoping that an Apache expert out there can tell me how I can suppress the error message for this specific issue from being written to the error log.
Thanks in advance for your help!
grep -v
Really. I mean it. Why manipulate the logs at time of writing?
Edit 1
tail -f -n100 /var/log/httpd/error_log | grep -v 'client denied by server configuration'
If you really want to prevent the error from being written to disk, you can pipe your logs through a script. More details here:
Apache docs