Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/75732/?format=api
http://patchwork.dpdk.org/api/patches/75732/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20200820071548.89512-1-qimaix.xiao@intel.com/", "project": { "id": 3, "url": "http://patchwork.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20200820071548.89512-1-qimaix.xiao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200820071548.89512-1-qimaix.xiao@intel.com", "date": "2020-08-20T07:15:48", "name": "[V1] fix enable verbose dts log duplicate info in file and console", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "4964b5740d6c9fa27b10811f30dd0d34d34af438", "submitter": { "id": 1303, "url": "http://patchwork.dpdk.org/api/people/1303/?format=api", "name": "Xiao, QimaiX", "email": "qimaix.xiao@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20200820071548.89512-1-qimaix.xiao@intel.com/mbox/", "series": [ { "id": 11722, "url": "http://patchwork.dpdk.org/api/series/11722/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=11722", "date": "2020-08-20T07:15:48", "name": "[V1] fix enable verbose dts log duplicate info in file and console", "version": 1, "mbox": "http://patchwork.dpdk.org/series/11722/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/75732/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/75732/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 748CAA04AF;\n\tThu, 20 Aug 2020 09:38:30 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 335311BEC3;\n\tThu, 20 Aug 2020 09:38:30 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 9692F1BEBA\n for <dts@dpdk.org>; Thu, 20 Aug 2020 09:38:28 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Aug 2020 00:38:27 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by fmsmga001.fm.intel.com with ESMTP; 20 Aug 2020 00:38:26 -0700" ], "IronPort-SDR": [ "\n P3fq3GM6xLC2KdviA6aN3iPcICn5PozJhEgc/9405ynmwQyju+UGhLT9paAQSirXSYvdApg5bu\n aGCZqBUN235w==", "\n 6KK80imUDiCYrszmZh2JHF6X7scir8vHBMmbg9GsIjuw9dJs9ED4Qj6soz1ENSRdQ+YEnJMMUn\n tBvcb0pv0EEA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9718\"; a=\"135320576\"", "E=Sophos;i=\"5.76,332,1592895600\"; d=\"scan'208\";a=\"135320576\"", "E=Sophos;i=\"5.76,332,1592895600\"; d=\"scan'208\";a=\"401069100\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Xiao Qimai <qimaix.xiao@intel.com>", "To": "dts@dpdk.org", "Cc": "Xiao Qimai <qimaix.xiao@intel.com>", "Date": "Thu, 20 Aug 2020 07:15:48 +0000", "Message-Id": "<20200820071548.89512-1-qimaix.xiao@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V1] fix enable verbose dts log duplicate info in file\n\tand console", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "*. debug level is lower than info, when enable dts verbose, both info and debug\nmessage will be print and logged twice\n\nSigned-off-by: Xiao Qimai <qimaix.xiao@intel.com>\n---\n framework/ssh_connection.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/framework/ssh_connection.py b/framework/ssh_connection.py\nindex afeef1c..e096a9e 100644\n--- a/framework/ssh_connection.py\n+++ b/framework/ssh_connection.py\n@@ -62,7 +62,7 @@ class SSHConnection(object):\n def send_expect(self, cmds, expected, timeout=15, verify=False):\n self.logger.info(cmds)\n out = self.session.send_expect(cmds, expected, timeout, verify)\n- self.logger.debug(out)\n+ self.logger.debug(out.replace(cmds, ''))\n if type(self.history) is list:\n self.history.append({\"command\": cmds, \"name\": self.name, \"output\": out})\n return out\n@@ -70,7 +70,7 @@ class SSHConnection(object):\n def send_command(self, cmds, timeout=1):\n self.logger.info(cmds)\n out = self.session.send_command(cmds, timeout)\n- self.logger.debug(out)\n+ self.logger.debug(out.replace(cmds, ''))\n if type(self.history) is list:\n self.history.append({\"command\": cmds, \"name\": self.name, \"output\": out})\n return out\n", "prefixes": [ "V1" ] }{ "id": 75732, "url": "