[libcamera-devel,v2,1/2] pipeline: raspberrypi: Reduce logging verbosity
diff mbox series

Message ID 20211208123637.1332668-1-naush@raspberrypi.com
State Accepted
Commit 59644205705c3c96331479f9b6603fea90c87145
Headers show
Series
  • [libcamera-devel,v2,1/2] pipeline: raspberrypi: Reduce logging verbosity
Related show

Commit Message

Naushir Patuck Dec. 8, 2021, 12:36 p.m. UTC
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@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
index 22c8ee6831d3..101aaea30743 100644
--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
@@ -161,10 +161,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 << ")";
 		}
 	}
 
@@ -1746,8 +1746,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)";
 		}
 	}
 }