Log notify_change boolean value lowercase
This commit is contained in:
@@ -377,7 +377,7 @@ class DDNSRequestHandler(BaseHTTPRequestHandler):
|
|||||||
if not ipv4_changed and not ipv6_changed:
|
if not ipv4_changed and not ipv6_changed:
|
||||||
logging.info(
|
logging.info(
|
||||||
f"No change: client={client_ip} hostname={hostname.hostname} "
|
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 (
|
return (
|
||||||
200, "nochg",
|
200, "nochg",
|
||||||
@@ -386,7 +386,7 @@ class DDNSRequestHandler(BaseHTTPRequestHandler):
|
|||||||
|
|
||||||
logging.info(
|
logging.info(
|
||||||
f"Updated: client={client_ip} hostname={hostname.hostname} "
|
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:
|
if notify_change:
|
||||||
|
|||||||
Reference in New Issue
Block a user