From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 686476A15 for ; Fri, 19 Aug 2016 07:24:32 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 18 Aug 2016 22:24:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,543,1464678000"; d="scan'208";a="750791751" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 18 Aug 2016 22:24:32 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 22:24:31 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 22:24:30 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.8]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.181]) with mapi id 14.03.0248.002; Fri, 19 Aug 2016 13:24:28 +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+9cQXVnq0WV0j2fP7R8DKBOUh2wgAAN1qCAARsgIIAARqpg Date: Fri, 19 Aug 2016 05:24:27 +0000 Message-ID: References: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E22270548@SHSMSX103.ccr.corp.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E2227117C@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E2227117C@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: Fri, 19 Aug 2016 05:24:33 -0000 Hi yong, Thanks a lot for your comments, I will send V2 patch ASAP. > -----Original Message----- > From: Liu, Yong > Sent: Friday, August 19, 2016 9:13 AM > To: Xu, HuilongX; dts@dpdk.org > Subject: RE: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level >=20 > Huilong, I have known this. What I mean is that not change default > configuration for all suites. It may cause unexpected results. > You can change configuration for certain test suite just in the suite. > There're lots samples like ieee1588. >=20 > Thanks > > -----Original Message----- > > From: Xu, HuilongX > > Sent: Thursday, August 18, 2016 4:24 PM > > To: Liu, Yong; dts@dpdk.org > > Subject: RE: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug > level > > > > 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 > > is 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 > > > > > > 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. > > > > > > > -----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 > > > >