23e4bf20a1
According to the api, rte_log() / rte_vlog() are supposed to check the log level and type but they were not doing so. This check was only done in the RTE_LOG macro while this macro is only there to remove log messages at build time. rte_log() always calls rte_vlog(), so do the check in rte_vlog() only. Signed-off-by: Jean Dao <jean.dao@6wind.com> Signed-off-by: David Marchand <david.marchand@6wind.com>