From bc91716082fbd7dc139f434e7326a31216e811fe Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 12 Dec 2016 17:14:52 +0100 Subject: [PATCH] Suppress logging of DHCP actions to /var/log/pihole.log --- advanced/Scripts/webpage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index a930856f..21de7067 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -133,6 +133,9 @@ EnableDHCP(){ echo "dhcp-authoritative" >> /etc/dnsmasq.d/01-pihole.conf # Use the specified file to store DHCP lease information echo "dhcp-leasefile=/etc/pihole/dhcp.leases" >> /etc/dnsmasq.d/01-pihole.conf + # Suppress logging of the routine operation of these protocols. Errors and problems will still be logged, though. + echo "quiet-dhcp" >> /etc/dnsmasq.d/01-pihole.conf + echo "quiet-dhcp6" >> /etc/dnsmasq.d/01-pihole.conf RestartDNS }