From 3b2fa07ac9d7e0caead848de3bb5e2bd6d11d3bc Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Tue, 9 Jun 2026 11:43:22 -0400 Subject: [PATCH] Development --- routlin/mod_dnsmasq.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routlin/mod_dnsmasq.py b/routlin/mod_dnsmasq.py index 9a607d6..15f28dc 100644 --- a/routlin/mod_dnsmasq.py +++ b/routlin/mod_dnsmasq.py @@ -694,8 +694,10 @@ def apply_dnsmasq_instances(data, dry_run=False, start_if_needed=True): if not dry_run: shared.DNSMASQ_CONF_DIR.mkdir(exist_ok=True) disable_system_dnsmasq(data) + general = data.get("dns_blocking", {}).get("general", {}) + setup_blocklist_logging(general) print() - print("Updating blocklist hosts files ======================================") + logging.info("Updating blocklist hosts files ======================================") update_blocklist_hosts(data) print() disable_system_dnsmasq(data)