From: Radosław Zarzyński Date: Wed, 17 May 2023 12:24:44 +0000 (+0200) Subject: os/bluestore: CBT includes bdev's logs when --log-file is set X-Git-Tag: v19.0.0~1160^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ca887ddd04f61e47fd9cc206c8d803746c1fc35;p=ceph.git os/bluestore: CBT includes bdev's logs when --log-file is set Currently we're collecting everything BlueStore-related except log entries from the `BlockDevice` implementations. Fixes: https://tracker.ceph.com/issues/61218 Signed-off-by: Radosław Zarzyński --- diff --git a/src/os/bluestore/bluestore_tool.cc b/src/os/bluestore/bluestore_tool.cc index 41775c8a3070..071e0a0c7981 100644 --- a/src/os/bluestore/bluestore_tool.cc +++ b/src/os/bluestore/bluestore_tool.cc @@ -369,6 +369,8 @@ int main(int argc, char **argv) args.push_back(log_file.c_str()); static char ll[10]; snprintf(ll, sizeof(ll), "%d", log_level); + args.push_back("--debug-bdev"); + args.push_back(ll); args.push_back("--debug-bluestore"); args.push_back(ll); args.push_back("--debug-bluefs");