Apache – Getting rid of (internal dummy connection) in the logs.

On busy sites the (internal dummy connection) message in apache logs can be a major annoyance as it fills the logs. A simple way to filter this out is to use the following log declarations (assuming IPV6 capable host):

SetEnvIf Remote_Addr "::1" dontlog

CustomLog /var/log/httpd/access_log combined env=!dontlog

RE: http://wiki.apache.org/httpd/InternalDummyConnection

Leave a Reply

Your email address will not be published. Required fields are marked *