From: Amitay Isaacs Date: Tue, 4 Jul 2017 05:50:12 +0000 (+1000) Subject: ctdb-daemon: Increase priority of logs when recovery happens X-Git-Tag: samba-4.7.0rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027689a2cf2b3f7ac0cfb16b882ad0b72c1376a5;p=thirdparty%2Fsamba.git ctdb-daemon: Increase priority of logs when recovery happens Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/server/ctdb_recover.c b/ctdb/server/ctdb_recover.c index a9f1b469876..0601ef37bf7 100644 --- a/ctdb/server/ctdb_recover.c +++ b/ctdb/server/ctdb_recover.c @@ -1074,7 +1074,7 @@ int32_t ctdb_control_end_recovery(struct ctdb_context *ctdb, int ret; struct recovery_callback_state *state; - DEBUG(DEBUG_NOTICE,("Recovery has finished\n")); + DEBUG(DEBUG_ERR,("Recovery has finished\n")); ctdb_persistent_finish_trans3_commits(ctdb); @@ -1200,7 +1200,7 @@ int32_t ctdb_control_start_recovery(struct ctdb_context *ctdb, struct recovery_callback_state *state; uint32_t recmaster = c->hdr.srcnode; - DEBUG(DEBUG_NOTICE, ("Recovery has started\n")); + DEBUG(DEBUG_ERR, ("Recovery has started\n")); gettimeofday(&ctdb->last_recovery_started, NULL); state = talloc(ctdb, struct recovery_callback_state);