+2 votes
in Web & Google by (3.7k points)

The access_log of Apache web server is taking too much space on the hard drive. Is there anyway to completely disable access_log so that I do not have to clean the access_log to free disk space?

1 Answer

0 votes
by (14.8k points)

If you can edit file "httpd.conf" of your Apache web server, you can disable access_log.  "httpd.conf" should be present in folder /usr/local/apache/conf/.

1. Open httpd.conf in an editor

2. Search for keyword access_log and comment out the line. e.g.

#CustomLog "logs/access_log" common

...