Buy @ Amazon

Avoid logging "Apache/2.4.48 (Ubuntu) (internal dummy connection)"

Apache 2.x keeps child processes alive by creating internal connections which appear in the log files as “internal dummy connection” on the IP address ::1 or 

If you ever monitor Apache log files you’ll see a lot of these in the log files.

How to prevent logging for these two IP addresses so your log files won't get filled up with these? 

Make the following change to your /etc/apache2/apache2.conf file to add CustomLog directive as below:

After this change restart your apache2 server with command in terminal like : 
sudo systemctl status apache2