mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
ctdb-daemon: Increase priority of logs for node connect/disconnect
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
d3f5a01861
commit
6c03e6d726
@ -295,7 +295,7 @@ void ctdb_node_dead(struct ctdb_node *node)
|
||||
node->rx_cnt = 0;
|
||||
node->dead_count = 0;
|
||||
|
||||
DEBUG(DEBUG_NOTICE,("%s: node %s is dead: %u connected\n",
|
||||
DEBUG(DEBUG_ERR,("%s: node %s is dead: %u connected\n",
|
||||
node->ctdb->name, node->name, node->ctdb->num_connected));
|
||||
ctdb_daemon_cancel_controls(node->ctdb, node);
|
||||
|
||||
@ -322,7 +322,7 @@ void ctdb_node_connected(struct ctdb_node *node)
|
||||
node->dead_count = 0;
|
||||
node->flags &= ~NODE_FLAGS_DISCONNECTED;
|
||||
node->flags |= NODE_FLAGS_UNHEALTHY;
|
||||
DEBUG(DEBUG_NOTICE,
|
||||
DEBUG(DEBUG_ERR,
|
||||
("%s: connected to %s - %u connected\n",
|
||||
node->ctdb->name, node->name, node->ctdb->num_connected));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user