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