app/testpmd: send failure logs to stderr
authorAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 17 Jun 2021 14:20:25 +0000 (17:20 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 24 Jul 2021 13:12:57 +0000 (15:12 +0200)
commit61a3b0e5e79fcd103d786d8170edf20d02049b37
tree66da3b48850f56942703915f7d20cfc66f14faff
parent0a0821bcf312175ae793cfac8c52b7f7f6159632
app/testpmd: send failure logs to stderr

Running with stdout suppressed or redirected for further processing
is very confusing in the case of errors. Fix it by logging errors and
warnings to stderr.

Since lines with log messages are touched anyway concatenate split
format strings to make it easier to search using grep.

Fix indent of format string arguments.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
12 files changed:
app/test-pmd/bpf_cmd.c
app/test-pmd/cmdline.c
app/test-pmd/cmdline_flow.c
app/test-pmd/cmdline_mtr.c
app/test-pmd/cmdline_tm.c
app/test-pmd/config.c
app/test-pmd/csumonly.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/util.c
doc/guides/rel_notes/release_21_08.rst