From 1e58e324d6a51679f77684d000c2c9f104fad64c Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 28 Jun 2021 14:27:58 +0100 Subject: Log to a local file This should only be done when isolated, otherwise I expect it will interfere with libcamera's logging Signed-off-by: Kieran Bingham --- ipu3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipu3.cpp b/ipu3.cpp index 96744c8..955fa62 100644 --- a/ipu3.cpp +++ b/ipu3.cpp @@ -20,6 +20,8 @@ #include +#include + #include "libcamera-helpers/mapped_buffer.h" /* IA AIQ Wrapper API */ @@ -89,6 +91,8 @@ int IPAIPU3::init(const IPASettings &settings) { int ret; + logSetFile("/tmp/ipu3ipa.log"); + /* * Temporary mapping of the sensor name to the AIQB data file. * -- cgit v1.2.1