!258 框架抓取的hilog日志不全

Merge pull request !258 from liguangjie/master
This commit is contained in:
openharmony_ci 2023-11-08 06:40:46 +00:00 committed by Gitee
commit 75c5a706b1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -925,9 +925,9 @@ class DeviceLogCollector:
command = "hilog"
if self.device.host != "127.0.0.1":
cmd = [HdcHelper.CONNECTOR_NAME, "-s", "{}:{}".format(self.device.host, self.device.port),
"-t", self.device.device_sn, "shell", command]
"-t", self.device.device_sn, command]
else:
cmd = [HdcHelper.CONNECTOR_NAME, "-t", self.device.device_sn, "shell", command]
cmd = [HdcHelper.CONNECTOR_NAME, "-t", self.device.device_sn, command]
LOG.info("execute command: %s" % " ".join(cmd).replace(
self.device.device_sn, convert_serial(self.device.device_sn)))
device_hilog_proc = start_standing_subprocess(

View File