1 From 64f5534579e8f14f723c48f317cd56badca225ee Mon Sep 17 00:00:00 2001
2 From: Don Penney <don.penney@windriver.com>
3 Date: Thu, 25 Aug 2016 13:07:16 -0400
4 Subject: [PATCH 1/1] Set OCF_ prefix in logs for syslog destination sorting
7 heartbeat/ocf-shellfuncs.in | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
11 index 3565e20..688c150 100644
12 --- a/heartbeat/ocf-shellfuncs.in
13 +++ b/heartbeat/ocf-shellfuncs.in
14 @@ -176,9 +176,9 @@ hadate() {
16 if [ -z "$HA_LOGTAG" ]; then
17 if [ -n "$OCF_RESOURCE_INSTANCE" ]; then
18 - HA_LOGTAG="$__SCRIPT_NAME($OCF_RESOURCE_INSTANCE)[$$]"
19 + HA_LOGTAG="OCF_$__SCRIPT_NAME($OCF_RESOURCE_INSTANCE)[$$]"
21 - HA_LOGTAG="$__SCRIPT_NAME[$$]"
22 + HA_LOGTAG="OCF_$__SCRIPT_NAME[$$]"