[dpdk-dev] [PATCH v2 1/3] eal: add quiet mode to suppress log output to stdout

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jan 5 16:40:14 CET 2017

2017-01-05 17:49, Slawomir Mrozowicz:
> Add EAL option to suppresses all log output to stdout.
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>
>  	       "  --"OPT_LOG_LEVEL"         Set default log level\n"
> +		"  -s, --"OPT_LOG_STDOUT_SILENT" Silent mode, suppresses log "
> +		"output to stdout\n"

How does it behave when the app configure a custom log function which
prints to stdout?

Generally speaking, we should stop adding such options in DPDK and
move this kind of responsibility to the applications (providing some API
and helpers).

More information about the dev mailing list