Merge "Reduce log rates for daemon-ocf"

This commit is contained in:
Zuul 2021-11-08 16:39:50 +00:00 committed by Gerrit Code Review
commit 13d18b98ad
2 changed files with 10 additions and 2 deletions

View File

@ -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 $?

View File

@ -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 $?