[libcamera-devel] [PATCH 1/2] pipeline: raspberrypi: Reduce logging verbosity
Naushir Patuck
naush at raspberrypi.com
Wed Dec 8 10:42:10 CET 2021
Demote a couple of lines of logging to Debug level to reduce the verbosity of
the log output during startup.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
---
src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
index 62db8f26b77d..4479e732a645 100644
--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
@@ -162,10 +162,10 @@ V4L2SubdeviceFormat findBestFormat(const SensorFormats &formatsMap, const Size &
bestFormat.size = size;
}
- LOG(RPI, Info) << "Format: " << size.toString()
- << " fmt " << format.toString()
- << " Score: " << score
- << " (best " << bestScore << ")";
+ LOG(RPI, Debug) << "Format: " << size.toString()
+ << " fmt " << format.toString()
+ << " Score: " << score
+ << " (best " << bestScore << ")";
}
}
@@ -1747,8 +1747,8 @@ void RPiCameraData::checkRequestCompleted()
state_ = State::Idle;
if (dropFrameCount_) {
dropFrameCount_--;
- LOG(RPI, Info) << "Dropping frame at the request of the IPA ("
- << dropFrameCount_ << " left)";
+ LOG(RPI, Debug) << "Dropping frame at the request of the IPA ("
+ << dropFrameCount_ << " left)";
}
}
}
--
2.25.1
More information about the libcamera-devel
mailing list