From 8c9e2ea10f57d5c74d982901c30ad43b7035246b Mon Sep 17 00:00:00 2001 From: Zhijian Li Date: Mon, 25 Sep 2023 20:59:44 -0700 Subject: [PATCH] Add info syslog for cpu_wdt.service (#16678) Why I did it Add info syslog for cpu_wdt.service when trigger watchdog arm action. How I did it Add info syslog for cpu_wdt.service when trigger watchdog arm action. --- .../sonic-platform-modules-cel/haliburton/script/cpu_wdt | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/broadcom/sonic-platform-modules-cel/haliburton/script/cpu_wdt b/platform/broadcom/sonic-platform-modules-cel/haliburton/script/cpu_wdt index 8eed59013b..23b4a0af1f 100644 --- a/platform/broadcom/sonic-platform-modules-cel/haliburton/script/cpu_wdt +++ b/platform/broadcom/sonic-platform-modules-cel/haliburton/script/cpu_wdt @@ -79,6 +79,7 @@ if [[ "${ACTION}" == "start" ]]; then log_info "Enable keep alive messaging every $KEEPALIVE seconds" while [[ ${CPUWDT_MAIN_TASK_RUNNING_FLAG} == "true" ]]; do watchdogutil arm -s "${TIMEOUT}" > /dev/null + log_info "Keep alive message sent [RC=$?]. Will sleep ${KEEPALIVE} seconds." sleep "${KEEPALIVE}" done log_info "Keep alive messaging has been disabled"