From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3516A1B1F9 for ; Thu, 5 Oct 2017 23:19:37 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF5FE20E47; Thu, 5 Oct 2017 17:19:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 05 Oct 2017 17:19:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=1rbXCBRmuXuttyL 4In48KMwIDf2CxDvWoryOCDrFMNA=; b=RbNxZmUuQfY4J9YHzE4t2jPZu0OZAdi IBdsdD4gzIAm7/YrL5pyNiW/97RKRmgCoiK+xpGFBZb1xE0Dv6TjYR9kogP6/Lra SATfFsFlVhF+cMELHsRbSg7ljwIaI7w/ChJIR/16vsHzG36YXMd0RT4wJQHUrlK3 8V8jc2lFGG3w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=1rbXCBRmuXuttyL4In48KMwIDf2CxDvWoryOCDrFMNA=; b=k48yaLyy i3GW2SHUTVEOLs5rh0BMCN5olsyjmByL26blhj/CbAffuUdorVdUBsryLE5sn+sg Z5EerGHNgEccbJjnZCnaENYovOZ4/gEsg8WxZ6TzChQaVAK4p9genINuug162WUn ut/v8kn/+8naMxYqP/gtmun703fM5kxMvnjB7+VMPD1A7JJ/gXpk6gFDANP/zHTY 5botYYomGNEN9Va2enBffLHJGya49XPtkKRRo+kZo0FyYjSq5E2CUvL6gF6qCRN2 7p5u4ic6iUrVtqP0ZfLjAOxYWrYki6eafDRHRuE45Sv4xv1P2cYGexdZv2whbcaH 4NgsDSfDH7QZ0Q== X-ME-Sender: X-Sasl-enc: TDBBgIFu8ch3xP+2EIpEe3pU1pC4S0vHZZhugyzs7Din 1507238376 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 84B9124772; Thu, 5 Oct 2017 17:19:36 -0400 (EDT) From: Thomas Monjalon To: Radoslaw Biernacki Cc: dev@dpdk.org, Olivier MATZ Date: Thu, 05 Oct 2017 23:19:35 +0200 Message-ID: <1930402.9rVUIpZKSN@xps> In-Reply-To: <20170925102531.zrk4cg75h55q6jvy@platinum> References: <1506019449-18782-1-git-send-email-radoslaw.biernacki@linaro.org> <20170925102531.zrk4cg75h55q6jvy@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] test/logs: fix dynamic log levels testing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 21:19:37 -0000 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 > > Acked-by: Olivier Matz Applied, thanks