From patchwork Wed Dec 8 09:42:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 15076 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 9C2F7BDB13 for ; Wed, 8 Dec 2021 09:42:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3E76B60725; Wed, 8 Dec 2021 10:42:17 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="ndGx8+lW"; dkim-atps=neutral Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 99F4360225 for ; Wed, 8 Dec 2021 10:42:15 +0100 (CET) Received: by mail-wr1-x429.google.com with SMTP id i5so3026866wrb.2 for ; Wed, 08 Dec 2021 01:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ysGduBUkpkOLLQgKWUrLa/NyPE35c9VO543u7NEaSf8=; b=ndGx8+lWfFfP57BuoWrsa0zCG1Vdkdi7EkiCQU7zT0Lr0AuhERNZN7jZYCT6KKE/EV z+JvBEvqAmmQDF2IxCAUhQjqjIMc9sMotLRZPl2lWrEFZZf/76Tu/8PE0clBMpfOyMzq QDOpqFss68jQaL5cNCd5PAuCyo5GWpGpsUd3CmrQdjrqiaInOFWPY1QFJUNomy5MBaBP efZFNm1B0o7fc+8d+UUz4AZlXtcrY9gjZ0rfoUlIHWwPrgwpUAGH6wcV46JAk2Gi0WD2 WH37wlUxShNS7DEhqXhVDnQ2/7/+QIFQQP9JCokPysb4BZUOh/z6jzHL1h35JAOJ8tG3 hqzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ysGduBUkpkOLLQgKWUrLa/NyPE35c9VO543u7NEaSf8=; b=qVJjbk0VrYXDWR//GQgBuQjZbZZ/Q5ViM6wyYepNRt5GSbVdqqZVP5mREkjfbg2KIY w9q5U7ve6/tEWbOk1WDMnYk7sfEA+YimemdGGroSOCcuWP79x0+Y0lZVVZprFLuThXOs bH+BW8tA6b5f8vO0IbbNsiVvWtmQHUYXW0LNKDuWnN1Ps61aCXffsi0P/o4KdktWT8cE aHx1nRVCD4oVr6GFdkDmsmR7avvCMeiwbuh++ogDzbfVtmhYHYZyEvhq8SMegBjGUxIJ Fe/b1TbcIJfDLIce3DWgxtdKUFQSTJH/HAtUsz7LzWzg6pNrMEIydZkeAtnQv1l4Zg0j rSFw== X-Gm-Message-State: AOAM530FtTg2IiVZHYjVR3Nir+I4fKg510DeEV5H8G/Aa4Sw1JcG9WZF /xY8DJYNqTAtmx+ylHAh7CCN16cGJrW4MTRi X-Google-Smtp-Source: ABdhPJywyVIM8ij8sVqFx6Bfk0PN6ElZHl/HDIPSFtlB5lTQXT2cJVCx2up9b2KIrLkkuE0VBqYTzA== X-Received: by 2002:a5d:4fcc:: with SMTP id h12mr60356297wrw.434.1638956535119; Wed, 08 Dec 2021 01:42:15 -0800 (PST) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:27d5:9305:f572:6623]) by smtp.gmail.com with ESMTPSA id t127sm5279951wma.9.2021.12.08.01.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 01:42:14 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 8 Dec 2021 09:42:10 +0000 Message-Id: <20211208094211.1251311-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/2] pipeline: raspberrypi: Reduce logging verbosity X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: David Plowman Reviewed-by: Kieran Bingham --- 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)"; } } }