journal: improve debug log messages

rbd-mirror debugging involved potentially thousands of journals
concurrently running. The instance address will correlate log
messages between journals.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2016-07-20 09:15:26 -04:00
parent 28d5ca16cb
commit 11475f4fe7
8 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "Entry: "
#define dout_prefix *_dout << "Entry: " << this << " "
namespace journal {

View File

@ -11,7 +11,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "JournalMetadata: "
#define dout_prefix *_dout << "JournalMetadata: " << this << " "
namespace journal {

View File

@ -8,7 +8,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "JournalPlayer: "
#define dout_prefix *_dout << "JournalPlayer: " << this << " "
namespace journal {

View File

@ -8,7 +8,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "JournalRecorder: "
#define dout_prefix *_dout << "JournalRecorder: " << this << " "
namespace journal {

View File

@ -9,7 +9,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "JournalTrimmer: "
#define dout_prefix *_dout << "JournalTrimmer: " << this << " "
namespace journal {

View File

@ -19,7 +19,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "Journaler: "
#define dout_prefix *_dout << "Journaler: " << this << " "
namespace journal {

View File

@ -8,7 +8,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "ObjectPlayer: "
#define dout_prefix *_dout << "ObjectPlayer: " << this << " "
namespace journal {

View File

@ -10,7 +10,7 @@
#define dout_subsys ceph_subsys_journaler
#undef dout_prefix
#define dout_prefix *_dout << "ObjectRecorder: "
#define dout_prefix *_dout << "ObjectRecorder: " << this << " "
using namespace cls::journal;