mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
librados: use EntityName in monitor_log line
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
6c520ffb0f
commit
2a28267758
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user