]> git.apps.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, 1 Nov 2017 23:03:24 +0000 (23:03 +0000)
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>
(cherry picked from commit 8d1277fa5c578ce0ea23a70cc58c6cf99921ee25)

src/mgr/MgrStandby.cc

index 99df69c909fdea44512973aabe69e3e45990d525..48b105a6dc390b3976a3ec535d9b9ed8af2ea0be 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;
   collect_sys_info(&metadata, g_ceph_context);