From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] app/test: fix log check when default level is high Date: Tue, 24 May 2016 17:15:35 +0200 Message-ID: <2008326.zZEttTykVO@xps13> References: <1463468749-22097-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit To: dev@dpdk.org Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 99AC937AC for ; Tue, 24 May 2016 17:15:37 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id z87so28305181wmh.0 for ; Tue, 24 May 2016 08:15:37 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id i3sm3726072wjx.30.2016.05.24.08.15.36 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2016 08:15:36 -0700 (PDT) In-Reply-To: <1463468749-22097-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-05-17 09:05, Thomas Monjalon: > The log unit test was checking display of low priority messages. > It was not working if RTE_LOG_LEVEL is not RTE_LOG_DEBUG. > It is even easier to see since the default level is INFO (9b9d7ca). > > Now the test use ERR and CRIT levels which should be always enabled > while not trigerring syslog output on the console. > > Signed-off-by: Thomas Monjalon > --- > v2: > - fix comments for the log levels > - add comments to explain the test Applied