summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2017-07-04 15:49:54 +1000
committerKarolin Seeger <kseeger@samba.org>2017-07-04 13:11:16 +0200
commitf9e826a976b919901ef756ddd0ae04a9aa41b0dc (patch)
tree639e45b459c536251b1ae61e4782081bcfb2f211
parenta004c934104b620c3d4b7dc44fdaa6f1717449bb (diff)
downloadsamba-f9e826a976b919901ef756ddd0ae04a9aa41b0dc.tar.gz
ctdb-daemon: Increase priority of logs when shutting down
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
-rw-r--r--ctdb/server/ctdb_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c
index f8d13c2a6af..b5cee615e91 100644
--- a/ctdb/server/ctdb_daemon.c
+++ b/ctdb/server/ctdb_daemon.c
@@ -1833,7 +1833,7 @@ void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code)
return;
}
- DEBUG(DEBUG_NOTICE,("Shutdown sequence commencing.\n"));
+ DEBUG(DEBUG_ERR,("Shutdown sequence commencing.\n"));
ctdb_set_runstate(ctdb, CTDB_RUNSTATE_SHUTDOWN);
ctdb_stop_recoverd(ctdb);
ctdb_stop_keepalive(ctdb);
@@ -1845,7 +1845,7 @@ void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code)
ctdb->methods->shutdown(ctdb);
}
- DEBUG(DEBUG_NOTICE,("Shutdown sequence complete, exiting.\n"));
+ DEBUG(DEBUG_ERR,("Shutdown sequence complete, exiting.\n"));
exit(exit_code);
}