From: Rishabh Dave Date: Mon, 2 Oct 2023 19:47:09 +0000 (+0530) Subject: mds/FSMap: add logging facility X-Git-Tag: v19.0.0~123^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be78b3ea68f75319da05700276630f7f331bbd63;p=ceph.git mds/FSMap: add logging facility Signed-off-by: Rishabh Dave --- diff --git a/src/mds/FSMap.cc b/src/mds/FSMap.cc index 5dfaaf0e3441..fe7ee5588919 100644 --- a/src/mds/FSMap.cc +++ b/src/mds/FSMap.cc @@ -15,7 +15,7 @@ #include #include "FSMap.h" - +#include "common/debug.h" #include "common/StackStringStream.h" #ifdef WITH_SEASTAR @@ -26,6 +26,11 @@ #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;