diff --git a/libexec/sourcezap/functions/print.sh b/libexec/sourcezap/functions/print.sh index b5d395f..8bb326e 100755 --- a/libexec/sourcezap/functions/print.sh +++ b/libexec/sourcezap/functions/print.sh @@ -2,10 +2,10 @@ printok() { - printf "ok: %s\n" "${1}" > /dev/stdout + printf "sourcezap: %s\n" "${1}" > /dev/stdout } printerr() { - printf "error: %s\n" "${1}" > /dev/stderr + printf "sourcezap: %s\n" "${1}" > /dev/stderr } diff --git a/share/sourcezap/CHANGELOG b/share/sourcezap/CHANGELOG index 51d8056..cfb6a8d 100644 --- a/share/sourcezap/CHANGELOG +++ b/share/sourcezap/CHANGELOG @@ -2,6 +2,10 @@ * vNEXT +**** Format log messages with program name +This change formats log messages written to standard output +and standard error with the pattern ~sourcezap: ~ + **** Replace chmod with -M switch This change replaces chmod with the -M switch. The -M switch is given to the ~pw useradd~ command in the ~setup-user~