File pacemaker-crmd-log-node-status.patch of Package pacemaker.8397

commit 9644c4680b95eb9936571aca0f51ef16c39894fa
Author: yuusuke <yusk.iida@gmail.com>
Date:   Wed Apr 5 16:32:18 2017 +0900

    Log: Fix log showing the node status so that it is easily distinguishable from other logs

Index: pacemaker/crmd/callbacks.c
===================================================================
--- pacemaker.orig/crmd/callbacks.c
+++ pacemaker/crmd/callbacks.c
@@ -125,7 +125,9 @@ peer_update_callback(enum crm_status_typ
     switch (type) {
         case crm_status_uname:
             /* If we've never seen the node, then it also wont be in the status section */
-            crm_info("%s is now %s", node->uname, state_text(node->state));
+            crm_info("%s node %s is now %s",
+                     (is_remote? "Remote" : "Cluster"),
+                     node->uname, state_text(node->state));
             return;
 
         case crm_status_rstate:
openSUSE Build Service is sponsored by