ctdb-daemon: Increase priority of logs for node connect/disconnect
authorAmitay Isaacs <amitay@gmail.com>
Tue, 4 Jul 2017 05:18:39 +0000 (15:18 +1000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Jul 2017 11:11:16 +0000 (13:11 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_server.c

index c3d38c4b9dafbce9669a4581234916d60d037be4..900674132ac08818f22c2df35648f2354b610480 100644 (file)
@@ -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));
 }