Re: [PATCH v2 1/3] eal: add quiet mode to suppress log output to stdout
From: Thomas Monjalon <hidden>
Date: 2017-01-05 15:40:16
From: Thomas Monjalon <hidden>
Date: 2017-01-05 15:40:16
2017-01-05 17:49, Slawomir Mrozowicz:
Add EAL option to suppresses all log output to stdout. Signed-off-by: Declan Doherty <redacted>
[...]
" --"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).