My Apache log file contains tons of errors like " client denied by server configuration: " There are expected and not really errors, and they make the error log file difficult to read. Is it possible to suppress this particular error message? Thanks!
I don’t think Apache allows you to toggle individual errors, but just change the error level if you want.
That said, you can always
grep -v and pipe the output to a new file and read that one. Or aggregate your logs in a service like logstash/greylog2 where you can use elasticsearch to filter what you’re after.
Thanks for your reply! That cleared my doubt.