From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 72C70A0093; Tue, 8 Nov 2022 15:37:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51FCD42D35; Tue, 8 Nov 2022 15:37:57 +0100 (CET) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2069.outbound.protection.outlook.com [40.107.103.69]) by mails.dpdk.org (Postfix) with ESMTP id 33D284003C for ; Tue, 8 Nov 2022 15:37:56 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=cGrKknObq6IHtFfbSBWuQLZzI2QF50urgNcJA1jXQ+5sGaGEPQ7D13NOkBBf74syvlaG+fxxOp7Gg8VcKu3Ds69PfmzbtEQz9oU/djCXSWelva9beZ0/B+vhJPP4Fdpl/59pYwxMbyZC0k2crTZoQHq+xYX1Gf9qw0eU4WBVuXwfMgwic/xjYU+Fg9VjLbDPTGxzCDCj5VpeepXX0GNuWGefKXd9IyLhoKopzSSA0plNCaoZxq0DbMjbnTp0onfg3kTTQrRq6QrjLchdxwc7tgxlG5ixZbAKlc2fuC1dOGRuDOPLgiBNfmqhxVrf2P0sZLaU/w1lQXgExHt9wK4GQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=RtLWae55W5QDoeaYGdCkJjJrYJId9YBSw2RvvBJt03A=; b=e1PmYy4kTktH8TbSx8+hOzBqPMgNlImX467bVbG75EKnP71h3d5TL/FZFasCL0B8nBB+balQSFkr+YPa6IuY4VwMkt0ELiW8Fq/wXjHR0YLntwe2V5vfI48SP/cQ3MxEylJeP6Pz9Oy1ijHn2QOsSChWYR1QbmOLXvsfRfj/HTphZiYnaTP488OfAEbjdHYTqKqsrmwYPGMW+HkFD7r90t2XIlyouFc9zZo22KWlAXxfPkzOXBFmZ8WYPyCp5MEodaEvk+KfQ0NnI9a+G9HbZpJrvqjLthWf5Jz24ZS5laRkhPc12I9Xi+gLaya6NB0cKDoS8jfdYLyp5E9sZkqrVQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RtLWae55W5QDoeaYGdCkJjJrYJId9YBSw2RvvBJt03A=; b=mvWzqCUeSqOzMmot76ilM8JJc7RV7+KfzELlQHTt1AJU9cMjN53ApkeZpEh23gQQp7w7MyGbS/g4SIY+BZRkoi37r0vpdmdr9ALMTnrYJpTDOsiqXLho7p8lyIkTKBOxUiwacXBxABSisapYNiM8U2dMVo8yU1D93pVNI3BBcW8= Received: from FR3P281CA0015.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::13) by GVXPR08MB7725.eurprd08.prod.outlook.com (2603:10a6:150:6d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.11; Tue, 8 Nov 2022 14:37:45 +0000 Received: from VI1EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:1d:cafe::bc) by FR3P281CA0015.outlook.office365.com (2603:10a6:d10:1d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.12 via Frontend Transport; Tue, 8 Nov 2022 14:37:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VI1EUR03FT061.mail.protection.outlook.com (100.127.144.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20 via Frontend Transport; Tue, 8 Nov 2022 14:37:44 +0000 Received: ("Tessian outbound aeae1c7b66fd:v130"); Tue, 08 Nov 2022 14:37:44 +0000 X-CR-MTA-TID: 64aa7808 Received: from f64f5523daa1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ED5FAE0E-FA4B-420D-9E14-995EF17F9657.1; Tue, 08 Nov 2022 14:37:38 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f64f5523daa1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 08 Nov 2022 14:37:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gGFkQrhkhyLeAhgYFwVs0SIarySg8fTOqdmcGd4N1YlFBCRlSfAIY8iyX6GoA5vfk+NeeucX1QdgNy3jORhzOo1JwOVl2oLn29NUXT9Y28B3XeLOGwg83c1d4jyVlmptq6lJRsQvk4VEn8v2KVzCVBF1hRlYE8Y9W/OHFi+xJNE9niZ6Lx5i/kHQ+ERiv9S23eC8kJLqERZVQuqXgxYz/HBYS4Jhqj0k0uyoksMXcaBTNR8tNC8GZtvCKItzf4jQik6nPao6WmMpiDOH/XJ6X+n2qX+trA4L2GleAXZ2LyHTFCy+AA+5wps7ZPEmc7CV4eXydMrMMGjZnXOH65WHOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=RtLWae55W5QDoeaYGdCkJjJrYJId9YBSw2RvvBJt03A=; b=jiI/wdhWVrQZ1j6CaFkCirEgwne9OgfbJup4nsociB1uP65/HzS5GxH9Q3nbJiB+qjk4lf0+ZIBqWO5piF+kaOOMlpODOi3S4Ilj4Cnjay6SryhqZ67q8/lU5fJtXrgGudrSwtkO88MYtR4ekMlWLlMQgcfdYeCI7O/3PUHPB3I5NOwG3VZoG1GiEFCkls2oTjyc4jb3s/XcT3csClGkg5ZRrvT7K/EZNoIS3hQbpkHoKb4u3gPvNDgTHktwxYMPt1F12ipxEGpMR6HXv2s6q4BVNRZpL+W7FgGUI2j2Fp08XYsBEPst9opplalUYTfcF/JGlwY7VSmqgdGSIO8wDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RtLWae55W5QDoeaYGdCkJjJrYJId9YBSw2RvvBJt03A=; b=mvWzqCUeSqOzMmot76ilM8JJc7RV7+KfzELlQHTt1AJU9cMjN53ApkeZpEh23gQQp7w7MyGbS/g4SIY+BZRkoi37r0vpdmdr9ALMTnrYJpTDOsiqXLho7p8lyIkTKBOxUiwacXBxABSisapYNiM8U2dMVo8yU1D93pVNI3BBcW8= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by GV1PR08MB7754.eurprd08.prod.outlook.com (2603:10a6:150:55::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.8; Tue, 8 Nov 2022 14:37:35 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::3fb6:b7b2:1e8d:11d6]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::3fb6:b7b2:1e8d:11d6%9]) with mapi id 15.20.5813.011; Tue, 8 Nov 2022 14:37:35 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" , Aman Singh , Yuying Zhang CC: "david.marchand@redhat.com" , "dev@dpdk.org" , Lijuan Tu , Owen Hilyard , =?iso-8859-2?Q?Juraj_Linke=B9?= , nd , nd Subject: RE: testpmd logging Thread-Topic: testpmd logging Thread-Index: AQHY83Jmwmz0KHzkP0ixxq8AWO2MjK41F+Rw Date: Tue, 8 Nov 2022 14:37:35 +0000 Message-ID: References: <11915083.eQLIkvUDd3@thomas> In-Reply-To: <11915083.eQLIkvUDd3@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: DD0B2138B32446498E3F29C942782AB5.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: DBAPR08MB5814:EE_|GV1PR08MB7754:EE_|VI1EUR03FT061:EE_|GVXPR08MB7725:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d47d428-5311-43da-142b-08dac196cc7d x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ktOuIYc2anCOlzu7yUsS8kE8nQgm1UFXX6O6VeZKrn7SF0RKLE9iGD85BNMvenQvyrlazbiu10gt2gu/WVJynYzm70WaBTIRRWxmTnqKfWrW0I8uGev3EDOhoBZcjxn3kUwO/EpwHuTlMZ8jcr5jbzhCG2hIsy7zepvcZv5tqsCf5qPU92uWa3g9IPk2oWs8jLTDJx3P/v4kHrChjPHtVocD/ef+9lyHuVEeREtQfDTba6A756eKi54q+77izWnlLuGPfNt/izBx+34rnLazErARqEXwtCQUqLrogZSFa9InyPlOe3NJmTfGzmUOhscYEE0j/TZJ+kYbxgs0mHTL/hrjzUoHT2a/yWz8njWZ21fEwnxFrgTrBO45JadOolhjoaqd8ydbIBdxqDwJbS2gUfht9ZED87QJi4NEvFl0oiEctxU4TojV33w27mWPs0iPcLpV1ZTGM/2vRss5lUkfESh/k3xqC+fqPG4RADwQpDlGiX2sOaJD66hReVR9rysx8GVTsxuHVL7Z9nmi+KUW6K9Ua2bYSedGFo8GjX4u63VWBuXKofpUeuiLiRIJz0WWI2cqlRjW+VMgaS0R726v4wl3+4PCNajoOlAhyuh5asm5AMjWnj0io6aB2vZV9CxZ2ggMSOluu6BA6fAGiYjRBuq9YPF+7M7KcYy0fhrynC6Fc62IXxAZ1yhwPsvNMHrmXhhTfM/TYEKQk1KMleP84N98hJiS9wWaHYuoe9Jxijw2R18oGs28sKdoiE9XmVYOnDycZQR8xszPg+lnTTWrmg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(346002)(376002)(39860400002)(366004)(136003)(451199015)(3480700007)(83380400001)(2906002)(33656002)(26005)(66946007)(4326008)(66556008)(76116006)(7116003)(41300700001)(66476007)(64756008)(55016003)(86362001)(38070700005)(66446008)(316002)(186003)(122000001)(5660300002)(110136005)(38100700002)(9686003)(53546011)(8936002)(7696005)(54906003)(6506007)(8676002)(478600001)(52536014)(4744005)(71200400001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7754 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ce80fe4d-fb50-4c5f-8c79-08dac196c6f2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: i0H3jqNLkA+1pk81AEf4d2gIKniJnS/7iolKY2vmR5sowSi3YgBTUacf8GppouyCLXC5glmF+4DovmhJI1djs6DuEW7qODaDxN9NdCf0Qs04iL7nsMIvX+0kDxKmY++CciTX9QxWaBnW4ArLztB6UUT5WlUQ9Xk6QhhhzOdZJFJH+RJd2VHh97DyyVpdb2+tl1DhCf6Z2OBib0WqP5hnzFsxNWYyioU4oaChPbZmrHGVqZunI/le6b7K7EfOyQhnhmu027k2IzY6u5V1/psn74xDud99lOKrAxOrN38GqEoqMXbVBxiraOnOaNcXq2r4EM3U5D5yBjPCGwKFMpyluAahsDbRjvxq6KCBtZ0T/khc2VFnrTbLnRTsM8/RlR7mEHEzwXtosAYyrM3oMq2XZUNmKxgWmfg4MSlouV3IMb02rWkJ2vgqJf3W3TjM4DrBF4Ghg/Y+QjpIXte5+AFAaorzT3vM4xtgy6ByEci/s59D5q/yJSYXBgglNlqFrBZ3hLn3rg2rJjVqxkZNamgirO0j0LXM6fBWl1DuYIVvEWLR29kdeZN12P8O3Euqjua2DpOjahcp6xbPRU7q39TsqVT1PP8QAi6Qywgty1vryGT0VXhbatAxKmQ3ZHRtsW9Iaahw6eAUBRduanj/8Q+7h43gTjuFBKYCqx0U2e9tucHn2XZheRp8Csm+5Nhooe4JAyiQuiHylVRuzxeIzCiMdzolr3PqrX2vaSGpmrcARbuHdNBjugJHiqhn4eMcn1OX9ZIYJ8kg0rF0mIfCzeah/g== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(376002)(346002)(396003)(136003)(451199015)(36840700001)(40470700004)(46966006)(33656002)(40480700001)(4744005)(81166007)(478600001)(8936002)(86362001)(82740400003)(82310400005)(356005)(36860700001)(55016003)(3480700007)(53546011)(52536014)(40460700003)(47076005)(336012)(41300700001)(186003)(70586007)(70206006)(316002)(7116003)(26005)(6506007)(4326008)(2906002)(5660300002)(110136005)(54906003)(8676002)(7696005)(9686003)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2022 14:37:44.5100 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d47d428-5311-43da-142b-08dac196cc7d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB7725 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org + Lijuan, Owen, Juraj > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, November 8, 2022 7:02 AM > To: Aman Singh ; Yuying Zhang > > Cc: david.marchand@redhat.com; dev@dpdk.org > Subject: testpmd logging >=20 > Hello, >=20 > I see testpmd is doing log with EAL entity. Example: > RTE_LOG(ERR, EAL, "The device: %s has been added!\n" > We could also discuss the log level. >=20 > Please can we work on replacing these logs? DTS uses some of the logs from testpmd to validate the results. I am not su= re what all logs are used. > We need to choose how to log (printf or registered log entity) and be > consistent. > What do you think? >=20