Skip to content

Commit

Permalink
dpdk: Disable DEBUG logs by default in DPDK libraries
Browse files Browse the repository at this point in the history
JIRA: SAMPLEVNF-45

The default RTE_LOG_LEVEL is set to 8 enables all debug prints
which impacts the performance testing.

This patch sets the RTE_LOG_LEVEL to INFO to avoid printing of
logs with level DEBUG.

Change-Id: I1fdeecab9cd82f37f62e1ccfa625f91d1cf16217
Signed-off-by: Anand B Jyoti <[email protected]>
  • Loading branch information
abjyoti committed Jun 26, 2017
1 parent 18acbcb commit db553f3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/dpdk_custom_patch/set-log-level-to-info.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/config/common_base b/config/common_base
index 0124e86..bd82c09 100644
--- a/config/common_base
+++ b/config/common_base
@@ -88,7 +88,7 @@ CONFIG_RTE_MAX_NUMA_NODES=8
CONFIG_RTE_MAX_MEMSEG=256
CONFIG_RTE_MAX_MEMZONE=2560
CONFIG_RTE_MAX_TAILQ=32
-CONFIG_RTE_LOG_LEVEL=8
+CONFIG_RTE_LOG_LEVEL=RTE_LOG_INFO
CONFIG_RTE_LOG_HISTORY=256
CONFIG_RTE_LIBEAL_USE_HPET=n
CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n

0 comments on commit db553f3

Please sign in to comment.