Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138664/?format=api
http://patches.dpdk.org/api/patches/138664/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240321161146.340421-11-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20240321161146.340421-11-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20240321161146.340421-11-stephen@networkplumber.org", "date": "2024-03-21T16:00:26", "name": "[v10,10/10] doc: add documentation of logging options", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d8c1e35ee0f72cf8224b4ab57988026f828af9e1", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240321161146.340421-11-stephen@networkplumber.org/mbox/", "series": [ { "id": 11658, "url": "http://patches.dpdk.org/api/series/11658/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11658", "date": "2020-08-14T17:34:41", "name": "eal: add option to put timestamp on console output", "version": 1, "mbox": "http://patches.dpdk.org/series/11658/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/138664/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/138664/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0583643D17;\n\tThu, 21 Mar 2024 17:17:26 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 75A1442DC3;\n\tThu, 21 Mar 2024 17:17:25 +0100 (CET)", "from mail-oo1-f51.google.com (mail-oo1-f51.google.com\n [209.85.161.51]) by mails.dpdk.org (Postfix) with ESMTP id A445A427E1\n for <dev@dpdk.org>; Thu, 21 Mar 2024 17:17:24 +0100 (CET)", "by mail-oo1-f51.google.com with SMTP id\n 006d021491bc7-5a4789684abso644587eaf.0\n for <dev@dpdk.org>; Thu, 21 Mar 2024 09:17:24 -0700 (PDT)", "from hermes.local (204-195-123-203.wavecable.com. [204.195.123.203])\n by smtp.gmail.com with ESMTPSA id\n w62-20020a638241000000b005e485fbd455sm41815pgd.45.2024.03.21.09.12.03\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 21 Mar 2024 09:12:04 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1711037844;\n x=1711642644; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=xVUryEj8Kq3FPCwIK8H3PBrS7GRSKTDof0Dxl18k0pg=;\n b=q2PqKZ70DLFdliHZKsP6C7uUQxBrgtifh8LnpAuDt/VCu/fZ9/EjuqbU/wlfQPFujj\n CoNiwZKBXtaO/DtfEFa/fiul+M5U/ylTDhNE/juGxACaHPO82mpSdtNEjlbkUXl2U9La\n QtCn/7y1qDA7imonRkSf0Qylyp7QH+cL46ezzHbIchCC63tVbvMOpiqXd61Pr7ZmVNUD\n li9vhrkV+OPiLwPbks7QclJh7CS/eL/wn+cpbyyY2n9CrCi2kCkKX1w4auMFe1TbmZ6F\n NtAcXkpVD5MPprnlCYcN7Rn5q5lbNR9Ivf6AT5KIevz6xLdRfU0fLjSU9e7Iy2/bcLQg\n GAYA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1711037844; x=1711642644;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=xVUryEj8Kq3FPCwIK8H3PBrS7GRSKTDof0Dxl18k0pg=;\n b=EQ5/wHrI9oGFH8i7dEV4NoXCXWLy2IE6kmHeR+//MRPd8ikaQ/3czJ9zAdBpYOLAyl\n pgxzgtKGbb1rmHmkyf+YGJCq7lFeN+ri1r1JSXtfDw/3Q2bdkNHJpSWgp893WuHa105G\n sapEoduDCtrPB5FCH5mdEjycymjiL7sSA7udx6oiylpnfHXymzUr4atgk2AoUNuQQbMF\n m1qF76sU+yaUhNP3NE4WmoY0V775/kqkBHM1yFCQNvfrMeZQvODtDNEqFCAQs6qwrT3I\n omH/HiJ2h4GWB6EppVez8hCGXBEIeRdYwkFbP1EClUtBe94a5whVGEE8mznNBuoRHzD+\n w7pg==", "X-Gm-Message-State": "AOJu0Yz3nscmycZwOMl7fy7NFq/8rSTM3mV9lQNLf4NN4H1y1KO46ZCi\n iwIQQl/gfb35AEkBv6TjE+q7y2fpyA7vaMZSmMz6K1alqeSNatrI6KYoXzNXAr18DKMMuBowxSv\n Q", "X-Google-Smtp-Source": "\n AGHT+IEvIK3jB9bYH3S7QMVncDNzJ77qQbAzTQ6av2TN2t3HbxrH8ilZWE97MWKmM0Jn58eBMafGsg==", "X-Received": "by 2002:a05:6358:c009:b0:17b:f3f9:117d with SMTP id\n kv9-20020a056358c00900b0017bf3f9117dmr6159588rwc.16.1711037524351;\n Thu, 21 Mar 2024 09:12:04 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[PATCH v10 10/10] doc: add documentation of logging options", "Date": "Thu, 21 Mar 2024 09:00:26 -0700", "Message-ID": "<20240321161146.340421-11-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20240321161146.340421-1-stephen@networkplumber.org>", "References": "<20200814173441.23086-1-stephen@networkplumber.org>\n <20240321161146.340421-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Add documentation of new log-timestamp and log-color options.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n doc/guides/linux_gsg/eal_args.include.rst | 54 +++++++++++++++++++----\n 1 file changed, 46 insertions(+), 8 deletions(-)", "diff": "diff --git a/doc/guides/linux_gsg/eal_args.include.rst b/doc/guides/linux_gsg/eal_args.include.rst\nindex 9cfbf7de8456..8ba54a62c0f9 100644\n--- a/doc/guides/linux_gsg/eal_args.include.rst\n+++ b/doc/guides/linux_gsg/eal_args.include.rst\n@@ -122,6 +122,52 @@ Memory-related options\n to system pthread stack size unless the optional size (in kbytes) is\n specified.\n \n+Logging options\n+~~~~~~~~~~~~~~~\n+\n+* ``--log-level <type:val>``\n+\n+ Specify log level for a specific component. For example::\n+\n+ --log-level lib.eal:debug\n+\n+ Can be specified multiple times.\n+\n+* ``--log-facility=facility``\n+\n+ Specifies the ``syslog`` facility passed to ``openlog``.\n+ The facility can be: ``auth``, ``cron``, ``daemon``, ``ftp``,\n+ ``lpr``, ``mail``, ``news``, ``user``, ``uucp``,\n+ ``local0``, ``local1``, ``local2``, ``local3``, ``local4``,\n+ ``local5``, ``local6``, or ``local7``. The default if\n+ no facility is specified is ``daemon``.\n+\n+* ``--log-timestamp[=format]``\n+\n+ Add a time stamp to log messages that are sent to the console (stderr).\n+ When format argument is omitted the time stamp is elapsed\n+ seconds since the start of the DPDK application.\n+ Other formats are:\n+\n+.. csv-table:: Log time stamp format\n+ :header: \"Format\", \"Description\", \"Example\"\n+ :widths: 6, 30, 32\n+\n+ \"ctime\", \"Unix ctime\", \"``[Wed Mar 20 07:26:12 2024]``\"\n+ \"delta\", \"Offset since last\", \"``[< 3.162373>]``\"\n+ \"reltime\", \"Seconds since last or time if minute changed\", \"``[ +3.001791]`` or ``[Mar20 07:26:12]``\"\n+ \"iso\", \"ISO-8601\", \"``[2024-03-20T07:26:12−07:00]``\"\n+\n+* ``--log-color[=when]``\n+\n+ Colorize the console output.\n+ The optional argument ``when`` can be ``auto``, ``never`` or ``always``.\n+ If the when argument is omitted, it defaults to ``auto``.\n+ To disable use of color::\n+\n+ --log-color=none\n+\n+\n Debugging options\n ~~~~~~~~~~~~~~~~~\n \n@@ -134,14 +180,6 @@ Debugging options\n Use anonymous memory instead of hugepages (implies no secondary process\n support).\n \n-* ``--log-level <type:val>``\n-\n- Specify log level for a specific component. For example::\n-\n- --log-level lib.eal:debug\n-\n- Can be specified multiple times.\n-\n * ``--trace=<regex-match>``\n \n Enable trace based on regular expression trace name. By default, the trace is\n", "prefixes": [ "v10", "10/10" ] }{ "id": 138664, "url": "