]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: monmap log on active should be debug
authorJohn Spray <john.spray@redhat.com>
Wed, 8 Nov 2017 16:53:45 +0000 (11:53 -0500)
committerPrashant D <pdhange@redhat.com>
Mon, 20 Nov 2017 05:12:00 +0000 (00:12 -0500)
This isn't even a change to the map, just something
that got echoed every time a new mon was the leader.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit c9eb2793e6074521d161632e20954295527d3653)

src/mon/MonmapMonitor.cc

index 7a0fb684de7e93cc1077b8d3354ed95d1e09594c..8abcf81312e9d73aae9014f3380cfb28eb82df57 100644 (file)
@@ -188,8 +188,9 @@ void MonmapMonitor::on_active()
     mon->has_ever_joined = true;
   }
 
-  if (mon->is_leader())
-    mon->clog->info() << "monmap " << *mon->monmap;
+  if (mon->is_leader()) {
+    mon->clog->debug() << "monmap " << *mon->monmap;
+  }
 
   apply_mon_features(mon->get_quorum_mon_features());
 }