From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2ACEB58CB for ; Thu, 18 Aug 2016 10:24:12 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 18 Aug 2016 01:24:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,538,1464678000"; d="scan'208";a="1037685673" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 18 Aug 2016 01:24:11 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 01:24:10 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 01:24:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.8]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.150]) with mapi id 14.03.0248.002; Thu, 18 Aug 2016 16:24:08 +0800 From: "Xu, HuilongX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level Thread-Index: AQHR+QR9s+9cQXVnq0WV0j2fP7R8DKBOUh2wgAAN1qA= Date: Thu, 18 Aug 2016 08:24:06 +0000 Message-ID: References: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E22270548@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E22270548@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 08:24:12 -0000 Hi yong, Dpdk package default highest log level is INFO(The value is 7). So we should reset compile switch for update log level to DEBUG(The value i= s 8). When we run dpdk app the default log is INFO, unless we set EAL parameter -= -log-level. Thanks a lot > -----Original Message----- > From: Liu, Yong > Sent: Thursday, August 18, 2016 3:32 PM > To: Xu, HuilongX; dts@dpdk.org > Cc: Xu, HuilongX > Subject: RE: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level >=20 > Huilong, > Please move the configuration file change into core_mask suite. > We'd better not change any code in dpdk, DTS should validate default > dpdk code. > If some suites require special setting, it should be included in the > test suite. >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > > Sent: Thursday, August 18, 2016 10:32 AM > > To: dts@dpdk.org > > Cc: Xu, HuilongX > > Subject: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level > > > > Signed-off-by: xu,huilong > > --- > > framework/project_dpdk.py | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > > index 4e44793..6ea8fb4 100644 > > --- a/framework/project_dpdk.py > > +++ b/framework/project_dpdk.py > > @@ -133,6 +133,8 @@ class DPDKdut(Dut): > > Set default RX/TX PMD function, now only take effect on ixgbe. > > """ > > [arch, machine, env, toolchain] =3D self.target.split('-') > > + self.send_expect("sed -i -e 's/CONFIG_RTE_LOG_LEVEL=3D.*$/" > > + + "CONFIG_RTE_LOG_LEVEL=3DRTE_LOG_DEBUG/' > > config/common_base", "# ", 30) > > if dts.rx_mode is None: > > mode =3D 'default' > > else: > > -- > > 1.9.3 > >