]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: omit module list in beacon logging
authorJohn Spray <john.spray@redhat.com>
Thu, 3 Aug 2017 17:00:56 +0000 (13:00 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 27 Sep 2017 18:20:21 +0000 (14:20 -0400)
This is useful in itself, but awkward when dealing
with logs generally, because it means that when you
grep on the name of a module, you get mostly beacon
messages rather than the log messages from the
module.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/MgrStandby.cc

index 70542754ece3e8dfbaafa4d5eaed789b432a4d75..9ea5276ad99b33bc4794b9ff69556011f7df6f3e 100644 (file)
@@ -158,8 +158,7 @@ void MgrStandby::send_beacon()
   bool available = active_mgr != nullptr && active_mgr->is_initialized();
 
   auto addr = available ? active_mgr->get_server_addr() : entity_addr_t();
-  dout(10) << "sending beacon as gid " << monc.get_global_id()
-          << " modules " << modules << dendl;
+  dout(10) << "sending beacon as gid " << monc.get_global_id() << dendl;
 
   map<string,string> metadata;
   metadata["addr"] = monc.get_my_addr().ip_only_to_str();