[dpdk-dev] [PATCH 0/6] librte_eal: allow wider range of log levels

Matthew Hall mhall at mhcomputing.net
Fri Nov 13 07:47:32 CET 2015


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(-)

-- 
1.9.1



More information about the dev mailing list