Log notify_change boolean value lowercase

This commit is contained in:
2026-01-23 01:33:52 +01:00
parent 4bf325ef27
commit 1fd14ebbed

View File

@@ -377,7 +377,7 @@ class DDNSRequestHandler(BaseHTTPRequestHandler):
if not ipv4_changed and not ipv6_changed:
logging.info(
f"No change: client={client_ip} hostname={hostname.hostname} "
f"zone={hostname.zone}{changed_addrs} notify_change={notify_change}"
f"zone={hostname.zone}{changed_addrs} notify_change={str(notify_change).lower()}"
)
return (
200, "nochg",
@@ -386,7 +386,7 @@ class DDNSRequestHandler(BaseHTTPRequestHandler):
logging.info(
f"Updated: client={client_ip} hostname={hostname.hostname} "
f"zone={hostname.zone}{changed_addrs} notify_change={notify_change}"
f"zone={hostname.zone}{changed_addrs} notify_change={str(notify_change).lower()}"
)
if notify_change: