diff --git a/mtce/src/hwmon/scripts/ocf/hwmon b/mtce/src/hwmon/scripts/ocf/hwmon index 14f52a20..aea04698 100644 --- a/mtce/src/hwmon/scripts/ocf/hwmon +++ b/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 $? diff --git a/mtce/src/scripts/mtcAgent b/mtce/src/scripts/mtcAgent index 6e75ace2..80602985 100755 --- a/mtce/src/scripts/mtcAgent +++ b/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 $?