summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-07-04 15:49:19 +1000
committerKarolin Seeger <kseeger@samba.org>2017-07-04 13:11:16 +0200
commita004c934104b620c3d4b7dc44fdaa6f1717449bb (patch)
treee9458258f75d31f45990a456e5a90d8c1689599c
parentc6f2624287038d9e7350cf720129dfd024738613 (diff)
downloadsamba-a004c934104b620c3d4b7dc44fdaa6f1717449bb.tar.gz
ctdb-daemon: Increase priority of logs when ctdb starts up disabled/stopped
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
-rw-r--r--ctdb/server/ctdb_daemon.c6
1 files 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;
}
}