Hiļ¼all Is it a little problematic to do log initialization global level? When RTE_LOG_LEVEL > = RTE_LOG_DEBUG, set global level to RTE_LOG_INFO? If I customize RTE_LOG_LEVEL = RTE_LOG_DEBUG, can I not set global level to RTE_LOG_DEBUG?
RTE_INIT(rte_log_init); static void rte_log_init(void) { uint32_t i; #if RTE_LOG_LEVEL >= RTE_LOG_DEBUG rte_log_set_global_level(RTE_LOG_INFO); #else rte_log_set_global_level(RTE_LOG_LEVEL); #endif I think it is reasonable to modify it this way: #if RTE_LOG_LEVEL > RTE_LOG_DEBUG rte_log_set_global_level(RTE_LOG_INFO); #else rte_log_set_global_level(RTE_LOG_LEVEL); #endif y...@panath.cn