ctdbd: When a node is connected, log at DEBUG NOTICE not DEBUG_INFO
authorMartin Schwenke <martin@meltin.net>
Tue, 29 Oct 2013 03:05:41 +0000 (14:05 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 29 Oct 2013 06:14:56 +0000 (17:14 +1100)
This is important enough that we should see it when the log level is
DEBUG_NOTICE.

Signed-off-by: Martin Schwenke <martin@meltin.net>
server/ctdb_server.c

index 41cc8819a57208847b325581dd5de688689e379a..c45f4cb5ffdd3e26ea6a7dd7cd655f1e9882c074 100644 (file)
@@ -425,8 +425,9 @@ void ctdb_node_connected(struct ctdb_node *node)
        node->dead_count = 0;
        node->flags &= ~NODE_FLAGS_DISCONNECTED;
        node->flags |= NODE_FLAGS_UNHEALTHY;
-       DEBUG(DEBUG_INFO,("%s: connected to %s - %u connected\n", 
-                node->ctdb->name, node->name, node->ctdb->num_connected));
+       DEBUG(DEBUG_NOTICE,
+             ("%s: connected to %s - %u connected\n", 
+              node->ctdb->name, node->name, node->ctdb->num_connected));
 }
 
 struct queue_next {