resource-agents: master - resource-agents: Add resource type to logging
Lon Hohberger
lon at fedoraproject.org
Tue Jul 20 16:01:16 UTC 2010
Gitweb: http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=3e5e5dee523e0394096d9368976f2e2447f0f19a
Commit: 3e5e5dee523e0394096d9368976f2e2447f0f19a
Parent: 9d2da4d53fc6c8cbb22359b6961ade3afb3e721c
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Mon Jul 12 13:51:57 2010 -0400
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Tue Jul 20 11:56:56 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