Browse Source

Merge "Reduce log rates for daemon-ocf"

changes/41/817441/1
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
13d18b98ad
  1. 6
      mtce/src/hwmon/scripts/ocf/hwmon
  2. 6
      mtce/src/scripts/mtcAgent

6
mtce/src/hwmon/scripts/ocf/hwmon

@ -473,7 +473,11 @@ case ${__OCF_ACTION} in
;;
esac
ocf_log info "hwmond:${__OCF_ACTION} action"
if [ ${__OCF_ACTION} = "monitor" ] ; then
ocf_log debug "hwmond:${__OCF_ACTION} action"
else
ocf_log info "hwmond:${__OCF_ACTION} action"
fi
# Anything except meta-data and help must pass validation
hwmond_validate || exit $?

6
mtce/src/scripts/mtcAgent

@ -497,7 +497,11 @@ case ${__OCF_ACTION} in
;;
esac
ocf_log info "mtcAgent:${__OCF_ACTION} action"
if [ ${__OCF_ACTION} = "monitor" ] ; then
ocf_log debug "mtcAgent:${__OCF_ACTION} action"
else
ocf_log info "mtcAgent:${__OCF_ACTION} action"
fi
# Anything except meta-data and help must pass validation
mtcAgent_validate || exit $?

Loading…
Cancel
Save