[spp] [PATCH 3/3] spp_nfv: change dynamic log level to RTE_LOG_DEBUG
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Fri Dec 21 05:10:41 CET 2018
From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
Change dynamic log level to RTE_LOG_DEBUG to be enable to output debug
log if it is launched with `--log-level 8`.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
src/nfv/nfv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/nfv/nfv.c b/src/nfv/nfv.c
index c74ebe5..e2160da 100644
--- a/src/nfv/nfv.c
+++ b/src/nfv/nfv.c
@@ -959,6 +959,8 @@ main(int argc, char *argv[])
ports = mz->addr;
}
+ set_user_log_debug(1);
+
RTE_LOG(INFO, APP, "Number of Ports: %d\n", nb_ports);
/* update port_forward_array with active port */
--
2.7.4
More information about the spp
mailing list