How to prevent Apache loggin certain errors?

Discussion in 'Apache' started by postcd, Apr 13, 2016.

  1. #1
    /usr/local/apache/logs/error_log is getting lines like these at a rate approx. one per second:

    I would like to ask how to prevent Apache logging these "Attempt to serve directory" errors.

    My aim is not to prevent them, but just suppress them from apache error_log so it do not make the log hard read.
     
    Last edited: Apr 13, 2016
    postcd, Apr 13, 2016 IP