From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2BD2268DD for ; Fri, 19 Aug 2016 03:13:11 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 18 Aug 2016 18:13:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,542,1464678000"; d="scan'208";a="1043860031" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2016 18:13:09 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 18:13:09 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 18:13:09 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Fri, 19 Aug 2016 09:13:07 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level Thread-Index: AQHR+QR9s+9cQXVnq0WV0j2fP7R8DKBOUh2wgAAN1qCAARsgIA== Date: Fri, 19 Aug 2016 01:13:07 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E2227117C@SHSMSX103.ccr.corp.intel.com> References: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E22270548@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmZiZDE1ODAtY2YxMC00YThkLWIxOWItY2E1ZDIyMzkyYjRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IllFN1dtaTJXZjExd3FiTEV5dzNFUnhha1BcL3Y2VmpHZG1aZzE3Tk5jNEhJPSJ9 x-ctpclassification: CTP_IC 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 01:13:11 -0000 Huilong, I have known this. What I mean is that not change default configur= ation for all suites. It may cause unexpected results. You can change configuration for certain test suite just in the suite. Ther= e're lots samples like ieee1588. 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 >=20 > 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 >=20 > > -----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 leve= l > > > > 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 ixgb= e. > > > """ > > > [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 > > >