Turn off or Disable Apache Acess Log

There are times when it is necessary to turn off or disable the access logs for Apache, whether it be for user anonymity or the log rotation hasn’t been set up.
This is a relatively easy task, just add/update the following in the Apache conf file for your virtual host:

CustomLog /dev/null 

~ by ityndall on February 13, 2011.

One Response to “Turn off or Disable Apache Acess Log”

  1. Or you could just comment out the line completely. This disables the log (works for ErrorLog also).

Leave a Reply