ctdb-daemon: Increase priority of logs when ctdb starts up disabled/stopped
authorAmitay Isaacs <amitay@gmail.com>
Tue, 4 Jul 2017 05:49:19 +0000 (15:49 +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_daemon.c

index 591729baea3c125a9213359dcd590146be369adf..f8d13c2a6affd224f444e9b3d7c2055f65590608 100644 (file)
@@ -1060,12 +1060,14 @@ static void initialise_node_flags (struct ctdb_context *ctdb)
 
        /* do we start out in DISABLED mode? */
        if (ctdb->start_as_disabled != 0) {
-               DEBUG(DEBUG_NOTICE, ("This node is configured to start in DISABLED state\n"));
+               DEBUG(DEBUG_ERR,
+                     ("This node is configured to start in DISABLED state\n"));
                ctdb->nodes[ctdb->pnn]->flags |= NODE_FLAGS_DISABLED;
        }
        /* do we start out in STOPPED mode? */
        if (ctdb->start_as_stopped != 0) {
-               DEBUG(DEBUG_NOTICE, ("This node is configured to start in STOPPED state\n"));
+               DEBUG(DEBUG_ERR,
+                     ("This node is configured to start in STOPPED state\n"));
                ctdb->nodes[ctdb->pnn]->flags |= NODE_FLAGS_STOPPED;
        }
 }