[dpdk-dev] [PATCH v2] eal:Fix log messages always being printed from rte_eal_cpu_init

2015-06-22 Thread Thomas Monjalon
2015-06-19 11:54, David Marchand: > On Mon, Jun 8, 2015 at 11:55 PM, Keith Wiles wrote: > > The RTE_LOG(DEBUG, ...) messages in rte_eal_cpu_init() are printed > > even when the log level on the command line was set to INFO or lower. > > > > The problem is the rte_eal_cpu_init() routine was called

[dpdk-dev] [PATCH v2] eal:Fix log messages always being printed from rte_eal_cpu_init

2015-06-19 Thread David Marchand
Hello Keith, On Mon, Jun 8, 2015 at 11:55 PM, Keith Wiles wrote: > The RTE_LOG(DEBUG, ...) messages in rte_eal_cpu_init() are printed > even when the log level on the command line was set to INFO or lower. > > The problem is the rte_eal_cpu_init() routine was called before > the command line

[dpdk-dev] [PATCH v2] eal:Fix log messages always being printed from rte_eal_cpu_init

2015-06-08 Thread Keith Wiles
The RTE_LOG(DEBUG, ...) messages in rte_eal_cpu_init() are printed even when the log level on the command line was set to INFO or lower. The problem is the rte_eal_cpu_init() routine was called before the command line args are scanned. Setting --log-level=7 now correctly does not print the