]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/watch: don't print bufferlists 51852/head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 31 May 2023 11:47:45 +0000 (11:47 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 2 Jul 2023 13:57:49 +0000 (13:57 +0000)
The bufferlists clutter the logs and don't infrom of anything useful:
```
DEBUG 2023-05-26 23:36:29,780 [shard 2] osd - send_completion sending notify replies: {notify_reply_t{watcher_gid=4220, watcher_cookie=139786421930752, bl=buffer::list(len=0,

)}, notify_reply_t{watcher_gid=4220, watcher_cookie=139786422032096, bl=buffer::list(len=0,

)}}
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/watch.cc

index 77a27a41f8bdbe3ae33506b22b7b322f835680ca..4573333c3dab7ec1ea238007a9f080e9230cf7bf 100644 (file)
@@ -231,8 +231,7 @@ bool notify_reply_t::operator<(const notify_reply_t& rhs) const
 std::ostream &operator<<(std::ostream &out, const notify_reply_t &rhs)
 {
   out << "notify_reply_t{watcher_gid=" << rhs.watcher_gid
-      << ", watcher_cookie=" << rhs.watcher_cookie
-      << ", bl=" << rhs.bl << "}";
+      << ", watcher_cookie=" << rhs.watcher_cookie << "}";
   return out;
 }