eal: fix warning about debug log at startup
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 24 Jan 2017 16:21:12 +0000 (17:21 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 29 Jan 2017 21:58:14 +0000 (22:58 +0100)
commitec7df18bb70ec6900892c6e47a29ce1cb2b07702
treee58073664f028eea30a8cc2b5efdcd75199e7f58
parentd613f57dd02936bd916007d6506253b6bc31c684
eal: fix warning about debug log at startup

The log "Debug logs available - lower performance" should
now only be displayed when dataplane debug logs are enabled.

The issue occurs only if the default log level (CONFIG_RTE_LOG_LEVEL) is
set to DEBUG in the configuration, which is not the case by default.

Fixes: 5d8f0baf69ea ("log: do not drop debug logs at compile time")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_log.c