numam-dpdk/lib/librte_eal
Olivier Matz 2fc8e0bf04 log: fix dump of registered logs when disabled
When we pass --log-level=0, it disables the logs. This level is
not displayed properly by the function that dumps the registered log
types (it shows "unknown"). Show "disabled" instead.

Before:

  ./build/app/test --log-level=0
  RTE>>dump_log_types
  global log level is unknown
  ...

After:

  ./build/app/test --log-level=0
  RTE>>dump_log_types
  global log level is disabled
  ...

Fixes: 432050bfd0 ("eal: dump registered log types")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-04-20 01:31:18 +02:00
..
bsdapp eal: remove log level from internal config 2017-04-20 01:29:11 +02:00
common log: fix dump of registered logs when disabled 2017-04-20 01:31:18 +02:00
linuxapp eal: remove log level from internal config 2017-04-20 01:29:11 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00