{"id":15076,"url":"https://patchwork.libcamera.org/api/1.1/patches/15076/?format=json","web_url":"https://patchwork.libcamera.org/patch/15076/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20211208094211.1251311-1-naush@raspberrypi.com>","date":"2021-12-08T09:42:10","name":"[libcamera-devel,1/2] pipeline: raspberrypi: Reduce logging verbosity","commit_ref":"59644205705c3c96331479f9b6603fea90c87145","pull_url":null,"state":"accepted","archived":false,"hash":"a89fa3ac4ed355b9f2e9d29e398107edb4d372a7","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/15076/mbox/","series":[{"id":2825,"url":"https://patchwork.libcamera.org/api/1.1/series/2825/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2825","date":"2021-12-08T09:42:10","name":"[libcamera-devel,1/2] pipeline: raspberrypi: Reduce logging verbosity","version":1,"mbox":"https://patchwork.libcamera.org/series/2825/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/15076/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/15076/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 9C2F7BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  8 Dec 2021 09:42:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3E76B60725;\n\tWed,  8 Dec 2021 10:42:17 +0100 (CET)","from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n\t[IPv6:2a00:1450:4864:20::429])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 99F4360225\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 Dec 2021 10:42:15 +0100 (CET)","by mail-wr1-x429.google.com with SMTP id i5so3026866wrb.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 08 Dec 2021 01:42:15 -0800 (PST)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:27d5:9305:f572:6623])\n\tby smtp.gmail.com with ESMTPSA id\n\tt127sm5279951wma.9.2021.12.08.01.42.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 08 Dec 2021 01:42:14 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"ndGx8+lW\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=ysGduBUkpkOLLQgKWUrLa/NyPE35c9VO543u7NEaSf8=;\n\tb=ndGx8+lWfFfP57BuoWrsa0zCG1Vdkdi7EkiCQU7zT0Lr0AuhERNZN7jZYCT6KKE/EV\n\tz+JvBEvqAmmQDF2IxCAUhQjqjIMc9sMotLRZPl2lWrEFZZf/76Tu/8PE0clBMpfOyMzq\n\tQDOpqFss68jQaL5cNCd5PAuCyo5GWpGpsUd3CmrQdjrqiaInOFWPY1QFJUNomy5MBaBP\n\tefZFNm1B0o7fc+8d+UUz4AZlXtcrY9gjZ0rfoUlIHWwPrgwpUAGH6wcV46JAk2Gi0WD2\n\tWH37wlUxShNS7DEhqXhVDnQ2/7/+QIFQQP9JCokPysb4BZUOh/z6jzHL1h35JAOJ8tG3\n\thqzg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=ysGduBUkpkOLLQgKWUrLa/NyPE35c9VO543u7NEaSf8=;\n\tb=qVJjbk0VrYXDWR//GQgBuQjZbZZ/Q5ViM6wyYepNRt5GSbVdqqZVP5mREkjfbg2KIY\n\tw9q5U7ve6/tEWbOk1WDMnYk7sfEA+YimemdGGroSOCcuWP79x0+Y0lZVVZprFLuThXOs\n\tbH+BW8tA6b5f8vO0IbbNsiVvWtmQHUYXW0LNKDuWnN1Ps61aCXffsi0P/o4KdktWT8cE\n\taHx1nRVCD4oVr6GFdkDmsmR7avvCMeiwbuh++ogDzbfVtmhYHYZyEvhq8SMegBjGUxIJ\n\tFe/b1TbcIJfDLIce3DWgxtdKUFQSTJH/HAtUsz7LzWzg6pNrMEIydZkeAtnQv1l4Zg0j\n\trSFw==","X-Gm-Message-State":"AOAM530FtTg2IiVZHYjVR3Nir+I4fKg510DeEV5H8G/Aa4Sw1JcG9WZF\n\t/xY8DJYNqTAtmx+ylHAh7CCN16cGJrW4MTRi","X-Google-Smtp-Source":"ABdhPJywyVIM8ij8sVqFx6Bfk0PN6ElZHl/HDIPSFtlB5lTQXT2cJVCx2up9b2KIrLkkuE0VBqYTzA==","X-Received":"by 2002:a5d:4fcc:: with SMTP id\n\th12mr60356297wrw.434.1638956535119; \n\tWed, 08 Dec 2021 01:42:15 -0800 (PST)","From":"Naushir Patuck <naush@raspberrypi.com>","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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/2] pipeline: raspberrypi: Reduce logging\n\tverbosity","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Demote a couple of lines of logging to Debug level to reduce the verbosity of\nthe log output during startup.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)","diff":"diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\nindex 62db8f26b77d..4479e732a645 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -162,10 +162,10 @@ V4L2SubdeviceFormat findBestFormat(const SensorFormats &formatsMap, const Size &\n \t\t\t\tbestFormat.size = size;\n \t\t\t}\n \n-\t\t\tLOG(RPI, Info) << \"Format: \" << size.toString()\n-\t\t\t\t       << \" fmt \" << format.toString()\n-\t\t\t\t       << \" Score: \" << score\n-\t\t\t\t       << \" (best \" << bestScore << \")\";\n+\t\t\tLOG(RPI, Debug) << \"Format: \" << size.toString()\n+\t\t\t\t\t<< \" fmt \" << format.toString()\n+\t\t\t\t\t<< \" Score: \" << score\n+\t\t\t\t\t<< \" (best \" << bestScore << \")\";\n \t\t}\n \t}\n \n@@ -1747,8 +1747,8 @@ void RPiCameraData::checkRequestCompleted()\n \t\tstate_ = State::Idle;\n \t\tif (dropFrameCount_) {\n \t\t\tdropFrameCount_--;\n-\t\t\tLOG(RPI, Info) << \"Dropping frame at the request of the IPA (\"\n-\t\t\t\t       << dropFrameCount_ << \" left)\";\n+\t\t\tLOG(RPI, Debug) << \"Dropping frame at the request of the IPA (\"\n+\t\t\t\t\t<< dropFrameCount_ << \" left)\";\n \t\t}\n \t}\n }\n","prefixes":["libcamera-devel","1/2"]}