summaryrefslogtreecommitdiffstats
path: root/src/librados/RadosClient.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-05-31 18:57:06 +0200
committerSage Weil <sage@redhat.com>2017-05-31 20:39:54 +0200
commit2a28267758eb05ef921ac23b6339252e1bc9c4fa (patch)
tree31e11b14a4f04164141913a698cd0f94672f0244 /src/librados/RadosClient.cc
parentcommon/LogEntry: include EntityName in log entries (diff)
downloadceph-2a28267758eb05ef921ac23b6339252e1bc9c4fa.tar.xz
ceph-2a28267758eb05ef921ac23b6339252e1bc9c4fa.zip
librados: use EntityName in monitor_log line
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/librados/RadosClient.cc')
-rw-r--r--src/librados/RadosClient.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librados/RadosClient.cc b/src/librados/RadosClient.cc
index 3e0de3adeb1..7cfa4d77b89 100644
--- a/src/librados/RadosClient.cc
+++ b/src/librados/RadosClient.cc
@@ -980,7 +980,7 @@ void librados::RadosClient::handle_log(MLog *m)
for (std::deque<LogEntry>::iterator it = m->entries.begin(); it != m->entries.end(); ++it) {
LogEntry e = *it;
ostringstream ss;
- ss << e.stamp << " " << e.who.name << " " << e.prio << " " << e.msg;
+ ss << e.stamp << " " << e.name << " " << e.prio << " " << e.msg;
string line = ss.str();
string who = stringify(e.who);
string level = stringify(e.prio);