summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mon/MonCap.cc5
-rw-r--r--src/osd/OSDCap.cc5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc
index aa18d123925..f7af40de12c 100644
--- a/src/mon/MonCap.cc
+++ b/src/mon/MonCap.cc
@@ -32,6 +32,11 @@
#include "include/ceph_assert.h"
+#define dout_subsys ceph_subsys_mon
+
+#undef dout_prefix
+#define dout_prefix *_dout << "MonCap "
+
using std::list;
using std::map;
using std::ostream;
diff --git a/src/osd/OSDCap.cc b/src/osd/OSDCap.cc
index f847e80e337..1cec8b62002 100644
--- a/src/osd/OSDCap.cc
+++ b/src/osd/OSDCap.cc
@@ -23,6 +23,11 @@
#include "common/debug.h"
#include "include/ipaddr.h"
+#define dout_subsys ceph_subsys_osd
+
+#undef dout_prefix
+#define dout_prefix *_dout << "OSDCap "
+
using std::ostream;
using std::string;
using std::vector;