telemetry: lower log level when legacy is not configured
PATCH 1/1 telemetry: lower log level when legacy is not configured
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 <[email protected]>
--- 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(-)
doc/guides/contributing/unit_test.rst +0 -1
@@ -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'
doc/guides/nics/cnxk.rst +0 -1
@@ -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 <mb_pool_0>: n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: cn10k_mempool_ops Configuring Port 0 (socket 0)
lib/telemetry/telemetry.c +1 -1
@@ -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 ; }
Signature · 1 line
2.45.2
Quoted 8 lines · Robin Jarry
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 <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
David Marchand
AppliedQuoted 10 lines · Bruce Richardson
Quoted 7 lines · Robin Jarry
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 <[email protected]>Acked-by Bruce Richardson <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand