style: log params in default colour vs magenta

This commit is contained in:
Asif Bacchus 2021-05-09 03:58:35 -06:00
parent c1c7fd5149
commit a7064805c3
1 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ fi
### initial log entries ### initial log entries
{ {
printf "%s[%s] -- Cloudflare DDNS update-script: execution starting --%s\n" "$ok" "$(stamp)" "$norm" printf "%s[%s] -- Cloudflare DDNS update-script: execution starting --%s\n" "$ok" "$(stamp)" "$norm"
printf "%sParameters:\n" "$magenta" printf "Parameters:\n"
printf "script path: %s\n" "$scriptPath/$scriptName" printf "script path: %s\n" "$scriptPath/$scriptName"
printf "credentials file: %s\n" "$accountFile" printf "credentials file: %s\n" "$accountFile"
} >>"$logFile" } >>"$logFile"
@ -351,7 +351,7 @@ while [ "$dnsRecordsToUpdate" != "${dnsRecordsToUpdate#*${dnsSeparator}}" ] && {
printf "updating record: %s\n" "$record" >>"$logFile" printf "updating record: %s\n" "$record" >>"$logFile"
done done
printf "(end of parameter list)%s\n" "$norm" >>"$logFile" printf "(end of parameter list)\n" >>"$logFile"
### read Cloudflare credentials ### read Cloudflare credentials
printf "[%s] Reading Cloudflare credentials... " "$(stamp)" >>"$logFile" printf "[%s] Reading Cloudflare credentials... " "$(stamp)" >>"$logFile"