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 AB72845594; Fri, 5 Jul 2024 11:00:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BC594330E; Fri, 5 Jul 2024 11:00:50 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 8BF9F402DD for ; Fri, 5 Jul 2024 11:00:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720170049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Hj6++AkyAMU/HAO9K0oAd8R6Wsr4FBGJZmaMz1fm6CI=; b=eBTlksD0A7OzBMzdELpW0/SBHR3jxIRSa17Q12p6f+A9MZLRKjLv55PGnDdRUrvXAmCf8e Vjkalex9O2FpOEeDCN7cqlF+dGu1wiA0uXO2xO2QkdqRy9ga9k0ih+DNY6RDLM65bAvuvI mM4gd5eqnt6XB9WuuUSL4Ex1F7Uc/OA= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-611-PcDT3yl1PhmLiqY2Y09EWw-1; Fri, 05 Jul 2024 05:00:45 -0400 X-MC-Unique: PcDT3yl1PhmLiqY2Y09EWw-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1062B1944D42; Fri, 5 Jul 2024 09:00:44 +0000 (UTC) Received: from ringo.redhat.com (unknown [10.39.208.10]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A0BE1195605F; Fri, 5 Jul 2024 09:00:41 +0000 (UTC) From: Robin Jarry To: dev@dpdk.org, Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , Bruce Richardson Subject: [PATCH] telemetry: lower log level when legacy is not configured Date: Fri, 5 Jul 2024 11:00:20 +0200 Message-ID: <20240705090020.481903-2-rjarry@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 When starting any DPDK application, this warning log is displayed: TELEMETRY: No legacy callbacks, legacy socket not created This brings unnecessary attention, lower the log level to DEBUG. Signed-off-by: Robin Jarry --- doc/guides/contributing/unit_test.rst | 1 - doc/guides/nics/cnxk.rst | 1 - lib/telemetry/telemetry.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/guides/contributing/unit_test.rst b/doc/guides/contributing/unit_test.rst index 063cefa192ae..c0f0d2988f00 100644 --- a/doc/guides/contributing/unit_test.rst +++ b/doc/guides/contributing/unit_test.rst @@ -98,7 +98,6 @@ The unit test app can accept test suite names via command line arguments:: EAL: Detected static linkage of DPDK EAL: Multi-process socket /run/user/26934/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' - TELEMETRY: No legacy callbacks, legacy socket not created APP: HPET is not enabled, using TSC as default timer RTE>>version_autotest Version string: 'DPDK 21.08.0-rc0' diff --git a/doc/guides/nics/cnxk.rst b/doc/guides/nics/cnxk.rst index dcb158385a29..ff380c10e905 100644 --- a/doc/guides/nics/cnxk.rst +++ b/doc/guides/nics/cnxk.rst @@ -76,7 +76,6 @@ for details. [ 2003.202721] vfio-pci 0002:02:00.0: vfio_cap_init: hiding cap 0x14@0x98 EAL: Probe PCI driver: net_cn10k (177d:a063) device: 0002:02:00.0 (socket 0) PMD: RoC Model: cn10k - EAL: No legacy callbacks, legacy socket not created testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: cn10k_mempool_ops Configuring Port 0 (socket 0) diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telemetry.c index 509fae76ec6d..c4c5a61a5cf8 100644 --- a/lib/telemetry/telemetry.c +++ b/lib/telemetry/telemetry.c @@ -541,7 +541,7 @@ telemetry_legacy_init(void) int rc; if (num_legacy_callbacks == 1) { - TMTY_LOG_LINE(WARNING, "No legacy callbacks, legacy socket not created"); + TMTY_LOG_LINE(DEBUG, "No legacy callbacks, legacy socket not created"); return -1; } -- 2.45.2