]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: use EntityName in monitor_log line
authorSage Weil <sage@redhat.com>
Wed, 31 May 2017 16:57:06 +0000 (12:57 -0400)
committerSage Weil <sage@redhat.com>
Wed, 31 May 2017 18:39:54 +0000 (14:39 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/librados/RadosClient.cc

index 3e0de3adeb1da875bfcf874505e2abb737887f9d..7cfa4d77b895adfc49a40de855c346f36ca8304d 100644 (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);