Here is a little series, following RFC [1]. No change in behavior expected, but reviews welcome ! :-)
1: https://patchwork.dpdk.org/project/dpdk/list/?series=10632 Changes since v2: - rebased on main, - updated log message in patch 2, Changes since v1: - some cleanup in patch 1, - some precision in description of patch 2, Changes since RFC: - added unit test, - logged level changes in rte_log_register, - fixed double evaluation of --log-level options, -- David Marchand David Marchand (3): test/log: check levels log: track log level changes eal: fix evaluation of log level option app/test/test_logs.c | 51 ++++++++++++++++- lib/librte_eal/common/eal_common_log.c | 79 +++++++++++++------------- lib/librte_eal/freebsd/eal.c | 4 ++ lib/librte_eal/linux/eal.c | 4 ++ lib/librte_eal/windows/eal.c | 4 ++ 5 files changed, 102 insertions(+), 40 deletions(-) -- 2.23.0