![]() |
How to disable Apache logging?
I have several high traffic sites that put a considerable IO load on the sytem because of their access and error logging. I can't find any option in ISPConfig 3 to disable logging on a site or the entire server.
How can this be done? |
Edit the ispconfig.conf file in /etc/apache2/sites-available and comment out the customlog line, then restart apache.
|
The line in question looks like this:
Quote:
|
yes. the line above is the access.log and not the error.log.
|
how do is disable the access.log only? I don't see the customlog in the vhost file for the specified domain. Using ispconfig 3.0.2.2
|
Just remove the line that is mentioned in post #3 from the apache config. It is in the ispconfig.conf file and not in a vhost as it is a global logging directive and not site specific.
|
Found an easy way of doing this :)
go into website settings and options in admin of Ispconfig, and add this two line into Apache Directives CustomLog /dev/null Combined AccessLog /dev/null Combined you will see all logs will stop i guess you guys can add tick box on the setting page of the site to add this two line auto ? Regards |
| All times are GMT +2. The time now is 21:05. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.