Browse files

Merge pull request #1260 from yuusuke/fix-log

Log: Fix log showing the node status so that it is easily distinguish…
  • Loading branch information...
kgaillot committed Apr 6, 2017
2 parents 71dbd12 + 9644c46 commit 81792490e568f21410b634cfda028a29299753f6
Showing with 3 additions and 1 deletion.
  1. +3 −1 crmd/callbacks.c
@@ -125,7 +125,9 @@ peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *d
switch (type) {
case crm_status_uname:
/* If we've never seen the node, then it also won't 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));
case crm_status_rstate:

0 comments on commit 8179249

Please sign in to comment.