mirror of
https://github.com/ceph/ceph
synced 2025-01-31 15:32:38 +00:00
Merge pull request #8148 from roidayan/xio-add_prefix_to_xio_logs
xio: add prefix to xio msgr logs
This commit is contained in:
commit
1bccc8a5ab
@ -353,6 +353,12 @@ void XioInit::package_init(CephContext *cct) {
|
||||
}
|
||||
|
||||
/* XioMessenger */
|
||||
#undef dout_prefix
|
||||
#define dout_prefix _prefix(_dout, this)
|
||||
static ostream& _prefix(std::ostream *_dout, XioMessenger *msgr) {
|
||||
return *_dout << "-- " << msgr->get_myaddr() << " ";
|
||||
}
|
||||
|
||||
XioMessenger::XioMessenger(CephContext *cct, entity_name_t name,
|
||||
string mname, uint64_t _nonce, uint64_t features,
|
||||
DispatchStrategy *ds)
|
||||
|
Loading…
Reference in New Issue
Block a user