-
1. Re: How to disable Modcluster logs in Apache Webserver ?
winfinit Jun 11, 2014 11:22 PM (in response to sridhar_a.r)you can add to your virtual host this: "CustomLog /dev/null”
-
2. Re: How to disable Modcluster logs in Apache Webserver ?
rhusar Jun 12, 2014 4:02 AM (in response to winfinit)1 of 1 people found this helpfulRoman Jurkov wrote:
you can add to your virtual host this: "CustomLog /dev/null”
Watch out, CustomLog directive takes 2 parameters, see documentation here:
http://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog
You thus need to specify a format:
CustomLog /dev/null combined
Let me also note that these are indeed valid HTTP requests from mod_cluster (MCMP) so that is why they are being logged. You have to configure mod_cluster manager module in a separate virtual host that is only restricted to your internal network, thus it is easy to configure logging only for mod_cluster.
-
3. Re: How to disable Modcluster logs in Apache Webserver ?
sridhar_a.r Jun 13, 2014 1:03 AM (in response to rhusar)Thanks buddy !!
-
4. Re: How to disable Modcluster logs in Apache Webserver ?
jorsol Sep 30, 2014 2:10 PM (in response to sridhar_a.r)I have added this to my vhost:
SetEnvIf User-Agent "ClusterListener/1\.0" dontlog
CustomLog ${APACHE_LOG_DIR}/cluster_access.log combined env=!dontlog