From 7091d44931086985a26cca2d263e307ad2f82001 Mon Sep 17 00:00:00 2001 From: Kongming Wu Date: Sun, 29 Apr 2001 06:22:35 +0800 Subject: [PATCH] mon: degrade a log message to level 2 FIX #14083 When leader election was done successfully, it will ask peon to collect info. When failed, it will cause monitor to do reelection, which makes relevant log message so important. So It would be better if reducing the log level from 5 to 2. Signed-off-by: Kongming Wu --- src/mon/Paxos.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/Paxos.cc b/src/mon/Paxos.cc index e0c8039257f5..dfab30af7d8a 100644 --- a/src/mon/Paxos.cc +++ b/src/mon/Paxos.cc @@ -207,7 +207,7 @@ void Paxos::handle_collect(MonOpRequestRef op) state = STATE_RECOVERING; if (collect->first_committed > last_committed+1) { - dout(5) << __func__ + dout(2) << __func__ << " leader's lowest version is too high for our last committed" << " (theirs: " << collect->first_committed << "; ours: " << last_committed << ") -- bootstrap!" << dendl; -- 2.47.3