From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id C202E5F19 for ; Fri, 23 Feb 2018 21:56:55 +0100 (CET) Received: by mail-pl0-f67.google.com with SMTP id u13so5575270plq.1 for ; Fri, 23 Feb 2018 12:56:55 -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=0FFb5VFS3WxK+BT6UVdoZL7MC39fe2qceQckQGeG/xb6opnbyCp7S52KW8MM5aw6tt XdjwGcxzuBKm6qh0Y2PAMjJOXx+9OvViJSqgwpbMXdNYkICbQOeqfdyvUhlcSzN/p9xy qwKgg0Kkl/GynpxPqQ52P64lFeI7Nk0MUJhqwP9LItdMJET0HckhtOQuItWZDikrwNph lw6cQD+6Gtne/Rdm4L5dR2bP51iUNxIN9h5iLM6zklxOIb1X2E2C9K2QTlThx2PvRXfZ 5Ak2AawAPOVN1ZIKCkMxiEN5haFKEzCrGOrLc/+D0EWFKTn2PW2lypYk3/oiiDp9GlKw SjRQ== 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=knc7d8ntRfYvoJx8z2WhEbursrcGKA76IxEr9x9I+QOykBY+GuQf+lTLnpCIyuoazI xJF/PH6xScOch2oRojiqMp/x6Q8kStyjF7LgkO8dcNG2+KqzfW2/0UfqOA8YSGLol6hx g/4yP4NMJaVTLSv2TLOiyKQyPRUwuu1ZnTCSEJ+10XNDxvwV4i+lveI0ImJ4hazpT7TB f3FPTMcSkifDDZ+hrgEbOyEa203h5Poq5ZnoDjhxqthHNz+HOwOXTF24RWN/H7mf1hqV sYSavi843j87RYz8VxwbdczWcpXZdydV3yPAVtqu1gPv7s8/QekTFvhwQrBSWDookBVB RU1Q== X-Gm-Message-State: APf1xPAOSYqwdui1sEv7ircin8E08qzp7Uqn+gJpkOdgt2zdX2RSO9Qg GSQCDEVuTMmCt86w6f8qBFWj/n41hz0= X-Google-Smtp-Source: AG47ELsq9QSHjdsNOLKyWOXpLfp8kh0ixiEyQa4sLmWYh3FFgwSQqquiGLnKfx3Cd59TmYH9OVbx1A== X-Received: by 2002:a17:902:7d94:: with SMTP id a20-v6mr53278plm.184.1519419414642; Fri, 23 Feb 2018 12:56:54 -0800 (PST) Received: from xeon-e3.lan (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id q66sm6329554pfi.95.2018.02.23.12.56.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 12:56:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 23 Feb 2018 12:56:48 -0800 Message-Id: <20180223205648.18690-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180223205648.18690-1-stephen@networkplumber.org> References: <20180223205648.18690-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 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: , X-List-Received-Date: Fri, 23 Feb 2018 20:56:56 -0000 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 -- 2.16.1