From 9ca887ddd04f61e47fd9cc206c8d803746c1fc35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rados=C5=82aw=20Zarzy=C5=84ski?= Date: Wed, 17 May 2023 14:24:44 +0200 Subject: [PATCH] os/bluestore: CBT includes bdev's logs when --log-file is set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/os/bluestore/bluestore_tool.cc | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.47.3