From f9e826a976b919901ef756ddd0ae04a9aa41b0dc Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 4 Jul 2017 15:49:54 +1000 Subject: [PATCH] ctdb-daemon: Increase priority of logs when shutting down Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/server/ctdb_daemon.c | 4 ++-- 1 file 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); } -- 2.11.4.GIT