]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MonClient: debug show start_mon_command variant
authorSage Weil <sage@redhat.com>
Tue, 16 Jul 2019 22:42:15 +0000 (17:42 -0500)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Aug 2019 21:50:22 +0000 (14:50 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonClient.cc

index 729e9f4f5c1b8ec7d258cd9f18aca573254b9e58..853dac05b6916efc6c7f2bfb02b35895db5969f9 100644 (file)
@@ -1143,6 +1143,7 @@ void MonClient::start_mon_command(const std::vector<string>& cmd,
                                   ceph::buffer::list *outbl, string *outs,
                                   Context *onfinish)
 {
+  ldout(cct,10) << __func__ << " cmd=" << cmd << dendl;
   std::lock_guard l(monc_lock);
   if (!initialized || stopping) {
     if (onfinish) {
@@ -1180,6 +1181,7 @@ void MonClient::start_mon_command(const string &mon_name,
                                   ceph::buffer::list *outbl, string *outs,
                                   Context *onfinish)
 {
+  ldout(cct,10) << __func__ << " mon." << mon_name << " cmd=" << cmd << dendl;
   std::lock_guard l(monc_lock);
   if (!initialized || stopping) {
     if (onfinish) {
@@ -1204,6 +1206,7 @@ void MonClient::start_mon_command(int rank,
                                   ceph::buffer::list *outbl, string *outs,
                                   Context *onfinish)
 {
+  ldout(cct,10) << __func__ << " rank " << rank << " cmd=" << cmd << dendl;
   std::lock_guard l(monc_lock);
   if (!initialized || stopping) {
     if (onfinish) {