Merge "Reduce log rates for daemon-ocf"
This commit is contained in:
commit
13d18b98ad
@ -473,7 +473,11 @@ case ${__OCF_ACTION} in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
# Anything except meta-data and help must pass validation
|
||||||
hwmond_validate || exit $?
|
hwmond_validate || exit $?
|
||||||
|
@ -497,7 +497,11 @@ case ${__OCF_ACTION} in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
# Anything except meta-data and help must pass validation
|
||||||
mtcAgent_validate || exit $?
|
mtcAgent_validate || exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user