From 38e96ec2794d193f4a6cf6d5372d3b1c849ac4d2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 29 Nov 2017 08:49:31 -0600 Subject: [PATCH] mon/MgrStatMonitor: dump PGMapDigest at debug level 20 Signed-off-by: Sage Weil --- src/mon/MgrStatMonitor.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mon/MgrStatMonitor.cc b/src/mon/MgrStatMonitor.cc index b18a4b66917..0d4ca3e7e10 100644 --- a/src/mon/MgrStatMonitor.cc +++ b/src/mon/MgrStatMonitor.cc @@ -188,6 +188,11 @@ bool MgrStatMonitor::prepare_report(MonOpRequestRef op) } dout(10) << __func__ << " " << pending_digest << ", " << pending_health_checks.checks.size() << " health checks" << dendl; + dout(20) << "pending_digest:\n"; + JSONFormatter jf(true); + pending_digest.dump(&jf); + jf.flush(*_dout); + *_dout << dendl; return true; } -- 2.39.5