19 September 2022

Customizing Apache default access log

After installing Apache I like to immediately customize the default access log. I change the default log file from other_vhosts_access.log to access.log, and I disable logging of specific “status” check URLs. Note I’m working on Ubuntu, other distros could have different file names and paths.

Finish up by deleting any existing “other_vhosts_access.log” log files, making sure other-vhosts-access-log is enabled, and restarting apache:

Posted September 19, 2022 by msb in category "Uncategorized