From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id F22247CC2; Mon, 25 Sep 2017 12:25:39 +0200 (CEST) Received: from lfbn-lil-1-182-75.w90-45.abo.wanadoo.fr ([90.45.31.75] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dwQfZ-0003zr-Qa; Mon, 25 Sep 2017 12:31:23 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Mon, 25 Sep 2017 12:25:32 +0200 Date: Mon, 25 Sep 2017 12:25:32 +0200 From: Olivier MATZ To: Radoslaw Biernacki Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20170925102531.zrk4cg75h55q6jvy@platinum> References: <1506019449-18782-1-git-send-email-radoslaw.biernacki@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1506019449-18782-1-git-send-email-radoslaw.biernacki@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-stable] [PATCH] test/logs: fix dynamic log levels testing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2017 10:25:40 -0000 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 Acked-by: Olivier Matz