mirror of
https://github.com/ceph/ceph
synced 2024-12-16 16:39:21 +00:00
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:
parent
28d5ca16cb
commit
11475f4fe7
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user