How can I exclude localhost(127..0.0.1) from pi-hole

Dear pi-hole user,
I am using pi-hole on a Raspberry Pi3
I wan't to exclude the localhost from pi-hole ...
Why ? I test my connection every 5 minutes with custom made scripts (doing lookups, speddtest, ...) and it uses a lot of logs every day
This make pi-hole admin slower
Stats are meaning less

My pi3 has a staic address and its dns is my router
Any solution with pi-hole itself or pi3 ipconfig would be fine

Regard

Christophe

Set up a cron job to run every minute that removes lines from the log that are from localhost.