From a004c934104b620c3d4b7dc44fdaa6f1717449bb Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 4 Jul 2017 15:49:19 +1000 Subject: [PATCH] ctdb-daemon: Increase priority of logs when ctdb starts up disabled/stopped Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/server/ctdb_daemon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c index 591729baea3..f8d13c2a6af 100644 --- a/ctdb/server/ctdb_daemon.c +++ b/ctdb/server/ctdb_daemon.c @@ -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; } }