ctdb-daemon: Increase priority of logs when shutting down
authorAmitay Isaacs <amitay@gmail.com>
Tue, 4 Jul 2017 05:49:54 +0000 (15:49 +1000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Jul 2017 11:11:16 +0000 (13:11 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_daemon.c

index f8d13c2a6affd224f444e9b3d7c2055f65590608..b5cee615e910934e9c13212222330796f3c2d142 100644 (file)
@@ -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);
 }