From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9ED7AA0567; Tue, 9 Mar 2021 21:29:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50C5722A53C; Tue, 9 Mar 2021 21:29:16 +0100 (CET) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 6522E4069D for ; Tue, 9 Mar 2021 21:29:15 +0100 (CET) Received: by mail-pj1-f47.google.com with SMTP id mz6-20020a17090b3786b02900c16cb41d63so5851216pjb.2 for ; Tue, 09 Mar 2021 12:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gPgBae2niqcJHkQyMYYJWAhqNkUNuDmF5z00pmpa7C4=; b=Q7/yGNIFdOaJZPGTLqPt8sF7Mjj3dfxzByicW3NFm+tSq99YLn7eS4UPVYTPZTZbPr ySMqGu0I4ZDuTfH787OM8hiUDJlFgqQ6dPVUnzdY9xD2SDSoN9mE46sr8JidR/ns85uw /wv714NHT4W0RgW0viE2Mtol5GxjhLpslxrAUkRiijPgd+no2veGUi+RnqnW95BTAluh ppJUFXfrePQbpx2muOCpndSqfda+8KkVhuYh5OXD0VxPTmwqpy1g+Dt3ZhlVeZOo+vIj //AGK7+fmcSm1o1f5rMcs7a4Jx6CJ+sCWHvZP6d6XCxazsvXiMqgG+zaZ4z5UrXmst1Z mtKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gPgBae2niqcJHkQyMYYJWAhqNkUNuDmF5z00pmpa7C4=; b=Rh9b0o1y2KCUS4L0gHBX1KpF2vLDWWmJDC1eDYuobfr/dIxUfrUOGuLlAKaqqXFpXM gP1n7Uef6OylQLWYj/79gNMgCEzMdj5V2gKfyouv95Pg2kp7ZPbqVrLSECU8qHquqAc3 M6/RCrYFRnrxFbNETT9g0kvIVIqRYgs29XtjseP5v6G5pPwAffQ2cVna6m98ePCNpxcr Bg4wZeVpVy4ODntYrcgGckUakmeGErDN4BNeevL0yaXvVXKD5ET5013eHJnu3bjpr1+9 5U+0na9AgPuJpIkDULycHl61FtgicQ/MqPifqANvQm/kt4pIn11eNauv0muxHeRBFMwq lt6g== X-Gm-Message-State: AOAM530GwSdz4vZM+pjLLpymnfgMYrN0vTP8/digOUZezaiTzKKz9Tuo GzL/kxnw5j2dXFO4YmulKgyTZw== X-Google-Smtp-Source: ABdhPJztC2X+2bMxTlcNTqUpk747CTcrtFbWKbjbS2W2zKIABNSwlfFieAOiDUjgur5UwaCCBUVTDg== X-Received: by 2002:a17:902:bc87:b029:e3:f6a4:db39 with SMTP id bb7-20020a170902bc87b02900e3f6a4db39mr5361006plb.25.1615321754420; Tue, 09 Mar 2021 12:29:14 -0800 (PST) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id i2sm13096757pgs.82.2021.03.09.12.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 12:29:13 -0800 (PST) Date: Tue, 9 Mar 2021 12:29:05 -0800 From: Stephen Hemminger To: Shanmugasundaram M Cc: dev@dpdk.org Message-ID: <20210309122905.46fb344f@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Reg DPDK EAL log-level=8 options is not throwing any DEBUG messages in /var/log/messages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 10 Mar 2021 00:30:24 +0530 Shanmugasundaram M wrote: > Dear Team, > > we are using 18.11.1-6WIND DPDK. we are trying to get EAL Debug messages > and we are not able to see any one from them in /var/log/messages. Kindly > let me know --log-level=8 is enough or --log-level=*8 is correct OR > --log-level=eal,debug is correct ? > Appreciate your quick response. > > regards, > Shanmugasundaram M DPDK now has log-level on a per-feature level. The old log level was global. The legacy option is what you are using. The document is missing about log-level options. Now log-level takes three forms: --log-level=regex,N --log-level=pattern:N --log-level=N The first takes a regular expressions so for example: -log-level='pmd\..*,8' Would set logging at debug for Poll Mode Drivers. Regex period is match all, not match period. The second form takes a shell style pattern (glob): --log-level='pmd.net.*:debug' Sets debug log level for all Poll Mode Network drivers. All forms take numeric or symbolic names for logging levels in current versions The third form sets the global log level only. The actual logic around what gets logged or not is a union of the global and per-logtype argument. So if global log level is set high (like NOTICE) then no info or debug messages will get printed. In other words, --log-level=8 has no effect both because it only sets the global level (and the default global level already is 8). To turn on all logging. Just do --log-level='.*,8' (or similar)