]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/FSMap: add logging facility
authorRishabh Dave <ridave@redhat.com>
Mon, 2 Oct 2023 19:47:09 +0000 (01:17 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 10 Oct 2023 11:08:19 +0000 (16:38 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mds/FSMap.cc

index 5dfaaf0e34412e306949969629445aa8edbdaa95..fe7ee5588919fbeb0b7596698e62a96b7f3f67dd 100644 (file)
@@ -15,7 +15,7 @@
 #include <ostream>
 
 #include "FSMap.h"
-
+#include "common/debug.h"
 #include "common/StackStringStream.h"
 
 #ifdef WITH_SEASTAR
 #include "global/global_context.h"
 #include "mon/health_check.h"
 
+#define dout_context g_ceph_context
+#define dout_subsys ceph_subsys_mds
+#undef dout_prefix
+#define dout_prefix *_dout << "FSMap "
+
 using std::list;
 using std::pair;
 using std::ostream;