From: Amitay Isaacs Date: Tue, 4 Jul 2017 05:49:19 +0000 (+1000) Subject: ctdb-daemon: Increase priority of logs when ctdb starts up disabled/stopped X-Git-Tag: samba-4.7.0rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a004c934104b620c3d4b7dc44fdaa6f1717449bb;p=thirdparty%2Fsamba.git ctdb-daemon: Increase priority of logs when ctdb starts up disabled/stopped Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- 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; } }