Skip to content

librte_eal: allow wider range of log levels

Matthew Hall dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6librte_log: add function to retrieve log_levellib/librte_eal/common/include/rte_log.h+1 -04 replies
2/6rte_log.h: add detailed log levels RTE_LOG{FINE, FINER, FINEST}lib/librte_eal/common/include/rte_log.h+11 -86 replies
3/6eal_common_log.c: reset default level to RTE_LOG_FINESTlib/librte_eal/common/eal_common_log.c+1 -10 replies
4/6rte_log.h: update logging docs to include FINEST levellib/librte_eal/common/include/rte_log.h+4 -40 replies
5/6rte_log.h: add RTE_SYSLOG_LEVEL_MAXlib/librte_eal/common/include/rte_log.h+3 -00 replies
6/6eal_log.c: limit syslog level to RTE_SYSLOG_LEVEL_MAXlib/librte_eal/linuxapp/eal/eal_log.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] librte_eal: allow wider range of log levels

This is a simple but very helpful patch for app developers. It allows a wider range of log levels from in the rte_log framework.

It allows developers to avoid resorting to a lot of external log frameworks in their DPDK code.

Matthew Hall (6):
librte_log: add function to retrieve log_level rte_log.h: add detailed log levels RTE_LOG{FINE,FINER,FINEST} eal_common_log.c: reset default level to RTE_LOG_FINEST rte_log.h: update logging docs to include FINEST level rte_log.h: add RTE_SYSLOG_LEVEL_MAX
eal_log.c: limit syslog level to RTE_SYSLOG_LEVEL_MAX

 lib/librte_eal/common/eal_common_log.c  |  2 +-
 lib/librte_eal/common/include/rte_log.h | 31 +++++++++++++++++++------------
 lib/librte_eal/linuxapp/eal/eal_log.c   |  1 +
 3 files changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
1.9.1