From 9654bf747276dc819727250d2d039cc9570301d1 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 25 Jul 2026 03:45:44 -0600 Subject: [PATCH] feat(log): Add 'SUCCESS' status Tag successfully updated entries with a 'SUCCESS' tag instead of 'OK' for better log filtering and to allow for logwatch reporting. --- cfddns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfddns.sh b/cfddns.sh index 44c36dd..369b117 100644 --- a/cfddns.sh +++ b/cfddns.sh @@ -619,7 +619,7 @@ while [ -n "$dnsRecordsToUpdate" ] && [ "$dnsRecordsToUpdate" != "$dnsSeparator" # note update success or failure cfSuccess="$(printf "%s" "$cfResult" | jq '.success')" if [ "$cfSuccess" = "true" ]; then - writeLog "The IP address for '${record}' successfully updated" "info" "ok" "ddns" + writeLog "The IP address for '${record}' successfully updated" "info" "success" "ddns" else listCFErrors "$cfResult" "ddns" writeLog "Unable to update the IP address for '${record}'" "err" "fail" "ddns"