From patchwork Fri Feb 23 21:17:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 35378 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 43D755F72; Fri, 23 Feb 2018 22:18:11 +0100 (CET) Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by dpdk.org (Postfix) with ESMTP id AAE0B5F65 for ; Fri, 23 Feb 2018 22:18:07 +0100 (CET) Received: by mail-pl0-f66.google.com with SMTP id c11-v6so2178677plo.0 for ; Fri, 23 Feb 2018 13:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UnO2YAso0GaoL1zkuUQB+z9jKvKij8xmrRDFyEPHlnY=; b=MfSssSVLFHRR2Pk03MqowigdsIv3OADheaQP0MUwZTCphdMPCn+fY46QohcMhosEPR fRSzOPC/w98SRYfk+PaM/L/84JkOjQFT4FY91lWCPl+wfI+Gd4EFDhS9dETnuvdN8yzu 5UTfWdI1KnaTpqzIAO6rcp1NY0A/4lYRrdGb7vg6440SqOnpFR+OeVxH/jn/aOLsGbtm aO8VtP5l85RjaZDgYxHbERtGkfS8/W8xCPt19vdjnelFwAOvBHbUhdScb82AVDn58MYg BUuyLll2/JaKX9xfUm5o1mTZ0fwZtvHjhfrvxAW4KtOQpPRZzSlJiARDdfGZ0Nni6ngp /K1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UnO2YAso0GaoL1zkuUQB+z9jKvKij8xmrRDFyEPHlnY=; b=TY9WoLGV0gDa2G1m0WxI/th08y74u3/NmlfQ03dfm4xTAW7BmhZc+c5iqh7QDdcebK QW1tKBpLIwaYQW421ngIbIah0juhnBhydN9gipobu/hab9HkKg/4HzVG3KUDnjn07B+Y F+rJMoSU3YmMG9biD9pQre1brON6zzS2yIzCZebvsmoUffPLmvk+fGgP4QMWszky86U0 HfGPHct0FgUHejQvF+vItBX2BDWCBwEhrw9igtYIom9lqxPVajw4me6iPrUhrSeNzmvX yqyVKhISIMdOEtd33qrpf8qBoaMsZNiFgfMw/9tjnxWnNuRC4zH42aCDlC2GUT/xnCrJ ATxg== X-Gm-Message-State: APf1xPBn+sR2Y/1cpPeDv+4re+WJd5nRxgrhAklqnw/PJ1qj7Arr9n6C xDiWNdzPaBfoybKdNDguJBepo3Z964M= X-Google-Smtp-Source: AH8x224Lwiesy08X+qnXt5pN8bM6Zn4cllH4HfnfTn20OJCBDSo+twlQEYmHAeWgGe3Oj5VNs6IsyA== X-Received: by 2002:a17:902:7789:: with SMTP id o9-v6mr2968659pll.422.1519420686411; Fri, 23 Feb 2018 13:18:06 -0800 (PST) Received: from xeon-e3.lan (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id g67sm5496674pgc.60.2018.02.23.13.18.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 13:18:05 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 23 Feb 2018 13:17:52 -0800 Message-Id: <20180223211752.28651-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180223211752.28651-1-stephen@networkplumber.org> References: <20180223205648.18690-1-stephen@networkplumber.org> <20180223211752.28651-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v2 3/3] doc: update log level matching in documentation 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The use of dynamic log in documentation should use matching not regex notation. Signed-off-by: Stephen Hemminger --- doc/guides/contributing/coding_style.rst | 2 +- doc/guides/nics/qede.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index b0f0adb887b4..365a4b17a983 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -615,7 +615,7 @@ In the DPDK environment, use the logging interface provided: rte_log_set_level(my_logtype2, RTE_LOG_NOTICE); /* enable all PMD logs (whose identifier string starts with "pmd") */ - rte_log_set_level_regexp("pmd.*", RTE_LOG_DEBUG); + rte_log_set_level_match("pmd.*", RTE_LOG_DEBUG); /* log in debug level */ rte_log_set_global_level(RTE_LOG_DEBUG); diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index 63ce9b4c60c6..42dd70db39df 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -193,7 +193,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Running testpmd - (Supply ``--log-level="pmd.net.qede.driver",7`` to view informational messages): + (Supply ``--log-level="pmd.net.qede.driver:7`` to view informational messages): Refer to the document :ref:`compiling and testing a PMD for a NIC ` to run