From patchwork Sun Jan 26 09:47:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Sommer?= X-Patchwork-Id: 56118 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D013C02181 for ; Sun, 26 Jan 2025 09:47:42 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.132]) by mx.groups.io with SMTP id smtpd.web11.27277.1737884853066737381 for ; Sun, 26 Jan 2025 01:47:34 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@navimatix.de header.s=selector1 header.b=GIYDtrfb; spf=pass (domain: navimatix.de, ip: 40.107.20.132, mailfrom: joerg.sommer@navimatix.de) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=piNZc5DvngYJi1Fuu3PDGI2VTkAEpZD5eXT7Kz/0IFVE3OeSnBKtz30bIH+GgbRtuUhjTRGfx4bEO3wuTn4N77jJQyfNT2sgc2getyXIyCA5cZhR1c5CQndTMn5f31vUs964vYaR/YD5Kzsz4ZR9nVuXh+2GM/hUH5F+8BtCImIvVITXbtXs0FeEX+CJ5U1kBLG3xGwrQpoCaTiE8dktGEt6zKhsBzGLLM3/3KW0QNQELhLXuDFz5KYeDikefhJ2DjrGkj2M8r1qSN7R2smeoKtV1HoKXh2l7aEVRvhqdV6pYIujNFLhIUJGFqzfyVR70p56lGbmRlk3hEN4nolp2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ngt2TmF/VSb+uFTHbkMsrBpDCUg+E7UMA+5fuHAaqhE=; b=AoMy97mmi+GtUcojmf/otlfibWcS1S89FRGRLy2OKYcMoNz1Zegikk6koObo3x95kESbh2HP0GuXaU+ZlDpMpVviGu79ih2t+TAqC8tej9ZkThC4bD6xGgL+ZCo2E9R8wsCvvjN7i7wErqqosVfLAWPkw9K6WG3bHrJghyxkYzFILIjD4b15W4MZjGxQ6jpDGsFHmuWunALmeEBOMvdLR7nPagiokRQa8D2vn9n8zdAeYP22T0FiEQS888A19cZNOHVsFBsR3InEgpy6SxyNpWho31hm5whMzBP57ZxUa7OX2n3/0CMrmceXoVh4LOdiokgu8FFvR8f/suPmtH5vlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=navimatix.de; dmarc=pass action=none header.from=navimatix.de; dkim=pass header.d=navimatix.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=navimatix.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ngt2TmF/VSb+uFTHbkMsrBpDCUg+E7UMA+5fuHAaqhE=; b=GIYDtrfbAZufdQZMACJLvryhIICze0VXSOTaSEdLtaxPaEizihXOTxRe1n/lonCVJw2VtuDZVU+0scwHTnrUiP49zHYLLtWnkpnprC9RNIKVJWxLVtqOsTeXzD9nKSLKjbEwE8B6BOffyEiPk4aLVwbnl9hi8tC+Tyu9JZPmcn8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=navimatix.de; Received: from AM9PR01MB8297.eurprd01.prod.exchangelabs.com (2603:10a6:20b:434::5) by DB9PR01MB8158.eurprd01.prod.exchangelabs.com (2603:10a6:10:2bd::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8377.21; Sun, 26 Jan 2025 09:47:29 +0000 Received: from AM9PR01MB8297.eurprd01.prod.exchangelabs.com ([fe80::ac1f:a3d4:7e5a:72a9]) by AM9PR01MB8297.eurprd01.prod.exchangelabs.com ([fe80::ac1f:a3d4:7e5a:72a9%6]) with mapi id 15.20.8377.021; Sun, 26 Jan 2025 09:47:29 +0000 Date: Sun, 26 Jan 2025 10:47:28 +0100 From: =?utf-8?b?SsO2cmc=?= Sommer To: bitbake-devel@lists.openembedded.org, docs@lists.yoctoproject.org, joerg.sommer@navimatix.de CC: docs@lists.yoctoproject.org, =?utf-8?b?SsO2cmc=?= Sommer Subject: [PATCH v2] doc/logging: small clean-up and name environment Message-ID: <6ab2ca1d7d9cd7ebf98aaca7e19612b3de0f133b.1737884847.git.joerg.sommer@navimatix.de> X-Mailer: git-send-email 2.47.1 References: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: BE1P281CA0418.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:83::21) To AM9PR01MB8297.eurprd01.prod.exchangelabs.com (2603:10a6:20b:434::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR01MB8297:EE_|DB9PR01MB8158:EE_ X-MS-Office365-Filtering-Correlation-Id: e286f304-c3b5-482e-cbea-08dd3dee72cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: osBquD9ELh76yfxKB8m0lBPHEn+bP6mll6O3QmsqtLprSOmgqZX+8Njf18Hd6cMNTQ9ofj/i+bQpI/PETcjgjTdwteaRpwpiUSt0ZqSzIpc8IAJPVQjcPibghhHSKfLVYjjlRxdge4Ip/CDcLXqEan73ZDVkvYQoWDgEeuMnGN1xztR4jOVPNXTI4guAAYvRjXA5FQtjPkbSK8uEAFUnSRkQtOGDGkViamJbxEFGQYcrQTanpyG4yk8YiKpv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ywiaXRXfCUEh3KoolkNok2Iy/Mq+YFfjIvT5JXgcsfgnnc0OTW42zSIuT+3YiWXx2OVDg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR01MB8297.eurprd01.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7RxOfulpbiOobPG+N98NvS4dll9gx5tsI0OFIsCnAcGVAFPIVWaPxnr98plco3GyHm+O6CvOO9WvfbT+TqBO52vPNYVCppyZq6QyIlZZia+IDWLB4Xblzm3Ys359R30zvb0+e8l/U4Q1c3ybn/aGkoo7WiIdQ26EEjHneh92glF7DfGJjPP5TW3HGZ2S+BIFE3vDtKJShP5MyfOmy9bT3sCCNNnV9fe83uIg1iUO15XKxuCvKjib/rl7oEHiWwDryrYfcGEW/iMCzfdagGTaw6sbbvuhD/pUhz4F2EzdeSbeBgqN/9wWK106vjLN+zLY9cdnOu3HDTVUV/8vbehB6k7g9VZxBgaPMp8nhu5NNyPDSo2EuhL9PODLPKnpoteB56qgOxkcC3eY4/DIr1Q7vOxbfNAAAhKySsA9N5uQsivfqvtAyG4jeGvReJ/wHfaBkhfZQTOGqm6G9b+RDGp7G8MH3v2EsfNZs/kmWtfjCKwbb/f4LjVYetSkBMJBuBG9TLkchFLzws0uLYPLRauwjNKgDSrApAmTOZbuaiT0wZoxDXm99mLEuEDO5i9Y75JMbR3z0ftlv31VuRu8N6g3qKdedT4boCWOWrJzhYJwYcwiD6DrBTAgf7aaTx/PV3TxFF4KWed0CdV/1OljRGgsUL8d8J3HcLSBciz/ne4BbeGUlbGe7n6PElKXSh7bDnllCvS+dl/K9isGcpVSCkxf/OIN7xoR29poM6Mw/99UEnZIvIShobWbeaMgUYPl18qKLSBvvbGNnkXRamFepvWBJvQeiOw82LRmgyie5/wFfoMpfmpDyESdIfBjkjxvzzmdw6Uq0cOCCgGwDkreItQjLR02rgU4tEuf7v6vhjbgAuTevhSGRFlLad+h2hPRDpAXmx29dar3ib6kLWnNmAUc1FfA6ewp6+g0tv9mOFW6MgBSbqUeArC/FDnebJHeQlYnjaW8K7SDjDFvSdLh7zGWlqNaT/x8nerooje3S9FYwOnsvGKansDZcmWt8mib5dHeMopWcwZ5qTZRDGtYZmQoUFgwAlU1yR4ag1+Tjssq8I3TYW7jer6klNfzqf5rzB0IUXVNCpc+gb72nfCltdFqzcYw0yV4sgwcurUH7BXm8nK+wAFqDH6nPyIPPnYPK6y5FSq+xwecbZfhtRz5wMkEHKMMv0XnsFl5LAyieCLG43Xqh7cE8nX9vcO7U//JjM4mrdbdogdDp+kpykNwAI4Jcnea67IQffdqXLHNz48UiFnpQshfnEYmcg/U8hq3Y15CJOhS0p1XuvgG81p9vrXBUX9NcDgKiIJlVyP1vAUk0H7eq3cJZytds2yJgIID2gld9vSS3hJr6yxAn/wMkPgir+Z5x5ZPBOC+l88YfhP0L8zog9Ekg0CJRR4FgKs6P3BOEuwDwEN9vY7o2+NsNNMdloWWcoUaMOS/tYYzcCD5/QQzQDyGlB1SmdKlU2Xb9kA9GS95JT46m/pVADd4cZYI3WKz/PHrSQD99uGnMXVGU3YcKO6bC6piW5lKpBR5crWmOssuWvy0FqbLftT2471REsxsX+n4cljtGcdonQEdUoVPv0c1X2QfgvzM9dqA+5ZeskDjYe5d1BXMK6hMXwIK2g== X-OriginatorOrg: navimatix.de X-MS-Exchange-CrossTenant-Network-Message-Id: e286f304-c3b5-482e-cbea-08dd3dee72cb X-MS-Exchange-CrossTenant-AuthSource: AM9PR01MB8297.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2025 09:47:29.6011 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c87b4f54-b992-4813-8f3f-4a876324197f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: isk5JtTm8S+vxVVFP0h3Gk0Apio8lPSqGDuhBltqRt2Y4VpJt2qUKPk/6ZatgQhUDQ+PyIvIvQ6eDB0a8iPzr6mh77Laj7N3RRuOCMfDjiY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR01MB8158 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 26 Jan 2025 09:47:42 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6173 From: Jörg Sommer The variable *BB_LOGCONFIG* is part of *BB_ENV_PASSTHROUGH_ADDITIONS* in /scripts/oe-buildenv-internal and can therefore be passed as environment variable. Signed-off-by: Jörg Sommer --- .../bitbake-user-manual-execution.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-execution.rst b/doc/bitbake-user-manual/bitbake-user-manual-execution.rst index d58fbb32e..993dc3546 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-execution.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-execution.rst @@ -671,7 +671,7 @@ logging configuration is merged using the following rules: - Any keys defined in the ``handlers``, ``formatters``, or ``filters``, will be merged into the same section in the default configuration, - with the user specified keys taking replacing a default one if there + with the user specified keys replacing a default one if there is a conflict. In practice, this means that if both the default configuration and user configuration specify a handler named ``myhandler``, the user defined one will replace the default. To @@ -707,9 +707,9 @@ or higher priority to a file called ``hashequiv.log``:: } }, "formatters": { - "logfileFormatter": { - "format": "%(name)s: %(levelname)s: %(message)s" - } + "logfileFormatter": { + "format": "%(name)s: %(levelname)s: %(message)s" + } }, "loggers": { "BitBake.SigGen.HashEquiv": { @@ -723,7 +723,8 @@ or higher priority to a file called ``hashequiv.log``:: } } -Then set the :term:`BB_LOGCONFIG` variable in ``conf/local.conf``:: +Then set :term:`BB_LOGCONFIG` as an environment variable when running +BitBake, or set it in ``conf/local.conf``:: BB_LOGCONFIG = "hashequiv.json"