I want Apache 2.4 not to log 403 errors.
Conditional logging is described in https://httpd.apache.org/docs/2.4/logs.html , but this applies to the access log.
In httpd.conf, I tried:
ErrorLogFormat "%!403[%t] [%l] [pid %P] %F: %E: [client %a] %M"
Nope. I tried several options, but Apache still gives an error. Perhaps conditional logging is not possible in the error log?
source
share