Turn off/disable Apache Log files – CustomLog, ErrorLog directives
Edit httpd.conf
replace:
CustomLog /var/log/httpd/access_log combined
ErrorLog /var/log/httpd/error_log
with
CustomLog /dev/null combined
ErrorLog /dev/null
Restart httpd with command:
./apachectl restart
(don’t do service httpd restart, use apachectl )
Categories: Hosting, Linux, Networking Apache Log, apachectl, CustomLog, dev null, ErrorLog, httpd restart, httpd.conf, Turn off








