librados: use EntityName in monitor_log line

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-05-31 12:57:06 -04:00
parent 6c520ffb0f
commit 2a28267758

View File

@ -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);