Disable access logs

ronnyj

New Pleskian
Hello, I need to disable apache access logs.
I commented out the access log path in /etc/httpd/conf/httpd.conf
and restarted the server but it's still logging access.

Can you help please?
 
In file /etc/httpd/conf/httpd.conf try to set

CustomLog /dev/null combined

instead of default

CustomLog /logs/access_log combined

and restart httpd service.
 
Hello Igor, I tried that too but it's still logging.
I guess the Virtualhosts load the logs directives from another file but I couldn't find it.
Any idea?
 
Back
Top