cluster: STABLE3 - resource-agents: Add resource type to logging
Lon Hohberger
lon at fedoraproject.org
Mon Jul 12 18:29:42 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9253a2bf3659978727d01e94e4a55bac638bb505
Commit: 9253a2bf3659978727d01e94e4a55bac638bb505
Parent: 823c16bb7d4abe73c0af6fa64e31591c3806c302
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Mon Jul 12 13:51:57 2010 -0400
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Jul 12 14:29:22 2010 -0400
resource-agents: Add resource type to logging
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
rgmanager/src/resources/ocf-shellfuncs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/resources/ocf-shellfuncs b/rgmanager/src/resources/ocf-shellfuncs
index f8226cb..3f7051a 100644
--- a/rgmanager/src/resources/ocf-shellfuncs
+++ b/rgmanager/src/resources/ocf-shellfuncs
@@ -159,7 +159,7 @@ ocf_log() {
if [ -z "`which clulog 2> /dev/null`" ]; then
return 0
fi
- clulog -s $__OCF_PRIO_N "$__OCF_MSG"
+ clulog -m "$OCF_RESOURCE_TYPE" -s $__OCF_PRIO_N "$__OCF_MSG"
}
__ocf_set_defaults "$@"
More information about the cluster-commits
mailing list