From afe10cba78c5126e091f0261175ca94ca5017671 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Fri, 27 Aug 2021 23:08:59 +0200 Subject: [PATCH] Updated logging --- src/raspberrypi/rascsi.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/raspberrypi/rascsi.cpp b/src/raspberrypi/rascsi.cpp index 4cb00db5..c5e78402 100644 --- a/src/raspberrypi/rascsi.cpp +++ b/src/raspberrypi/rascsi.cpp @@ -647,10 +647,11 @@ bool ProcessCmd(int fd, const PbDeviceDefinition& pbDevice, const PbOperation cm ostringstream s; s << (dryRun ? "Validating: " : "Executing: "); - s << "cmd=" << PbOperation_Name(cmd) << ", id=" << id << ", unit=" << unit << ", type=" << PbDeviceType_Name(type) + s << "command=" << PbOperation_Name(cmd) << ", command params='" << params << "'" + << ", device id=" << id << ", unit=" << unit << ", type=" << PbDeviceType_Name(type) << ", params='" << pbDevice.params() << "', vendor='" << pbDevice.vendor() << ", product='" << pbDevice.product() << "', revision='" << pbDevice.revision() << "'" - << "', block size=" << pbDevice.block_size() << ", params='" << params << "'"; + << "', block size=" << pbDevice.block_size(); LOGINFO("%s", s.str().c_str()); // Check the Controller Number