[dpdk-dev] [PATCH] test/logs: fix dynamic log levels testing

Thomas Monjalon thomas at monjalon.net
Thu Oct 5 23:19:35 CEST 2017


25/09/2017 12:25, Olivier MATZ:
> On Thu, Sep 21, 2017 at 08:44:09PM +0200, Radoslaw Biernacki wrote:
> > This patch fixes the dynamic log levels testing in logs_autotest.
> > Introduction of rte_log_set_level() in patch c1b5fa94a46f was done
> > with parameter RTE_LOG_EMERG which caused all RTE_LOG() calls an
> > early return due to all given levels were far below EMERG.
> > If first two logs supposed to show up on console, the initial log
> > level must be low (DEBUG). It is than changed above ERR when we test
> > if TESTAPP2 log type can be filtered by log type log level.
> > 
> > Fixes: c1b5fa94a46f ("eal: support dynamic log types")
> > 
> > Signed-off-by: Radoslaw Biernacki <radoslaw.biernacki at linaro.org>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks


More information about the dev mailing list