]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephtool: aesthetic change to ceph -w output
authorSage Weil <sage@inktank.com>
Fri, 18 May 2012 03:18:35 +0000 (20:18 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 May 2012 03:23:33 +0000 (20:23 -0700)
* no seq
* name, not ip addr

Signed-off-by: Sage Weil <sage@inktank.com>
src/tools/common.cc

index 367944d994d1687d9303f2b594a5465e29ea0d04..752cf506dd2a7148823f28ccdf3d2f2890a13e7b 100644 (file)
@@ -488,7 +488,7 @@ void Subscriptions::handle_log(MLog *m)
   std::deque<LogEntry>::iterator it = m->entries.begin();
   for (; it != m->entries.end(); it++) {
     LogEntry e = *it;
-    cout << e.stamp << " " << e.seq << " " << e.who 
+    cout << e.stamp << " " << e.who.name 
         << " " << e.type << " " << e.msg << std::endl;
   }