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
Or you could just comment out the line completely. This disables the log (works for ErrorLog also).
Chris Jones said this on February 16, 2011 at 12:40 am |