From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0041.outbound.protection.outlook.com [104.47.41.41]) by dpdk.org (Postfix) with ESMTP id AEBDD1B277 for ; Fri, 17 Nov 2017 09:47:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zlZdMs4S6SyHeYRSooZplSw0ajiZ8TMX9UYW2IwnBcc=; b=UiPCrnlrjDjKDQMOHAvCy97gZIW2S1leUVwjGC6zQKR90PvQeDU8QmPAOUg3AOFYMEA8+iJkWsP4JQ/QsVL+lFtQKbpZcGmYHFh7EZTkPAWQ5tw/MuqDQgftamflp5yjC/XtVEAPsOjN2AuUBCuo20FQlSIySTHAY8M7qJfOUps= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (111.93.218.67) by CY4PR07MB3461.namprd07.prod.outlook.com (10.171.252.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Fri, 17 Nov 2017 08:47:40 +0000 Date: Fri, 17 Nov 2017 14:17:23 +0530 From: Pavan Nikhilesh Bhagavatula To: Ferruh Yigit , olivier.matz@6wind.com, thomas@monjalon.net Cc: dev@dpdk.org Message-ID: <20171117084722.by7sdxdoimkwdqpg@Pavan-LT> References: <20171116103144.4197-1-pbhagavatula@caviumnetworks.com> <20171116103144.4197-2-pbhagavatula@caviumnetworks.com> <81bb5aae-527d-5b1a-5609-985256682d39@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81bb5aae-527d-5b1a-5609-985256682d39@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: YQXPR0101CA0028.CANPRD01.PROD.OUTLOOK.COM (52.132.74.169) To CY4PR07MB3461.namprd07.prod.outlook.com (10.171.252.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 783fc596-297d-40b5-7db1-08d52d97dd6d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:CY4PR07MB3461; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3461; 3:PVH+xoxj6n5DAR0FUEt8SMeyPdvyMCLqXE/X5yGjDqG6upk2rtiNN1338hEbh6uP6M5OVS4grOdD2fI9/WhdHXufwugZaDrMFd3h9qYKb2rSyxDTeOE1UFYefXVFsLcGaZueM9N2UXLOdGPB65R2WpbVQW3f2++28mCE1NHw9ovpUr6UQ71KT5W/2SZCbnmbaIJeox5aiJIMVry6nTaGrkTQS8swXmhErgSPa3R52191q0bTlgoUC84gzwFMwuSp; 25:0laIfwqzi32VHO9WphNQKmucJqMv34HlTt/ZLY9K/7NEiXvXCPfAMY3MiBQYjPxpbi21+XdLiLcFLDOYqgIpzf2H2VSrPvxUlaOYR2mHApNJhnDuTHIIQpcTm01/tpR5Jz9OAMoWAg4yHKX5S6yXwDE+B7qFQ8d8VRqy042MdLLga+QJstjqLFBfC6YIpG7T4DLFsiSEEnWSYJdut4ceah3gyiuQSBn484aek6JFNjn4sXhmP/iOUmgDW2TOP0D9n7PyNNzyfMyeqmCRsbzwCSb70I22nT6MhqL+vej0xfaMS/J3nFOYT2rdII4iBINM2yMGJi0lk6k2If9tFaZGHw==; 31:I8fC0UR8p7NKqDm5XDhZOs1XMVEPVbW770dF7OGOh1T5nfRnyFztF9pSjBiL5bV+AD6CURptQCNhf7I+ZG9kn9AXAl6cGUTrDSg+HNvb9QaFQA1cElK6+NKOVcPLZnjyOll9u7X297f5Ze0NQjaQB0bFF3yS5rD6/k3FvvFfwVz7oM2QB6Ty2XSuTRt0y92smyTNGfy7CtNkqJtOgwuVD3jqRIR+gnB5s4Z1DDck838= X-MS-TrafficTypeDiagnostic: CY4PR07MB3461: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3461; 20:BBVhM5iTTknkxDNJeNTT6uIj71HXYl/qnDaRkPiJDJLvrC/FOEMytyDwIIP386y/IpAT2N+HXq3foI4dJLrzsvHsBOnAK/DI5o9jeGf00MRf0FXZp/cPZYQusnZ7fvcHxaHLicHGNVlz9F+boBTgtn4xOknSpO4gIejZDNdilL8p6OWeJFdjzFLbbiDO77b2oc9yenMNrfmQDAYOkWA9YZ/XR/FMTdmH7yewYwRlstVzZ0NZMh30ftoD5R3Zyz5UlxZ3l2US8UErAq27jrCT3SaHncrBqxNPN90uVdj0dJ2HaPxDfJkNphEUt7B+fjGmqO9XXQ3HEPds7ZBu5FaK9cjK3xU8hygXypaIsJozVCrFg6MYVkUNuLV2/NQ5DJdzIqlzUQv/1mKGzZ5s4AvGS1OJstpETIiQS87XFaQSYf2ENBCDlkYk4D17bQchwOgC0pmgXaC4tAokgUYwtJNX4vgj0fr+bRNwDxwKbmmTNlDYV+fuEWRZpS//1tEa5y3bQZ+Pwd1Apvj0UUH3X8wAqBLd0gq+6WbaSnaqCewbJKjwEHCMm50w41SpwU9Az3x8NqkMyKgW0DUC1KT+npIBcXJnDFnIF1K/b+Ymmp5iq5g=; 4:vGB7o7BUJ5Qq3DW6C/fN5JanKEpzMdBnbQhfSiYDPUIPQIILZLdib32mbAbDymqmVsJ8MrKeC8vIRrDZB87xacAuRMemXoJSx/wB+5COXq+O5yKBjonaeVP+WlzfhLLJGjPrR07KDuv36FwF1FuVaj0rWAWEvLROMpb/rVe9uE+BzXKMZbtDAt/X60+0cHYHUFVk8TCmbsdHP/grpbqkeB6/PCdJoCKuyIYwVw3Rm9uqNVIpwA93rzQ3u6Z41gK4nuFUVpkvF1pbht+vZdF6eg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(3231022)(93006095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3461; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3461; X-Forefront-PRVS: 049486C505 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(24454002)(53936002)(2950100002)(58126008)(4326008)(16526018)(6246003)(6496005)(50466002)(101416001)(316002)(8936002)(16586007)(50986999)(2906002)(76176999)(54356999)(8676002)(81166006)(81156014)(23726003)(6116002)(3846002)(25786009)(1076002)(9686003)(97736004)(47776003)(66066001)(189998001)(55016002)(33716001)(5660300001)(6666003)(42882006)(305945005)(68736007)(53546010)(7736002)(83506002)(229853002)(5009440100003)(105586002)(72206003)(478600001)(106356001)(33646002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3461; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3461; 23:nEmS0TLLsHUJVwFvjEHP2Ni1Xxn50M/ne7M0Ch2Mq?= =?us-ascii?Q?fVR+/wlD4WQCwRuFwIxv0dboaaeHA4GPS/q8EhtxpMK6ymhAwotgFhT/Y+Zv?= =?us-ascii?Q?iZunfyyJ7bK54m1Vz6Z5lMF9/HFlXPip4NFV1SsrlGDtXbUfp3jtxBhcRbM7?= =?us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zwF1lbQcenXt3o/JcarsyKEzUrh+IigrX693cpY1K30TZ1PgNnf/k5f/Vlroma6fZ/oCmUufS+tX+8ISc9ehMHmed5M/IYaVWrs6ZIaz/m+/V8qJeqHxB5axoWMbKJy5G24uaBUWfcS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2017 08:47:40.0420 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 783fc596-297d-40b5-7db1-08d52d97dd6d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3461 Subject: Re: [dpdk-dev] [PATCH 2/2] eal: fix dynamic logs failing to print 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: Fri, 17 Nov 2017 08:47:44 -0000 On Thu, Nov 16, 2017 at 11:48:14AM -0800, Ferruh Yigit wrote: > On 11/16/2017 2:31 AM, Pavan Nikhilesh wrote: > > Dynamic logs fail to print if the global log level is less than dynamic > > loglevel. Example if the global log level is set to INFO and dynamic log > > level for a specific module is set to DEBUG then the log fails to print. > > What is the purpose of the global log level value? > As per my understanding, If we want to filter out debug logs from all other modules except a specific module using --log-level="," the logs would fail to print if the global log level is lower than the specified level. If during EAL init we want to filter out all the logs except a certain pmd's log we can specify --log-level="pmd\..*," without modifying the global log level. Also, this wouldnt break the previous functionality of global log level. > > Check modules log level before checking the global log level. > > > > Fixes: c1b5fa94a46f ("eal: support dynamic log types") > > > > Signed-off-by: Pavan Nikhilesh > > <...> >