diff --git a/tools/harness-thci/OpenThread_BR.py b/tools/harness-thci/OpenThread_BR.py index 0764fec32..88d59f7aa 100644 --- a/tools/harness-thci/OpenThread_BR.py +++ b/tools/harness-thci/OpenThread_BR.py @@ -636,7 +636,8 @@ class OpenThread_BR(OpenThreadTHCI, IThci): self.bash('truncate -s 0 /var/log/syslog') def __dumpSyslog(self): - output = self.bash_unwatched('grep "otbr-agent" /var/log/syslog') + cmd = self.extraParams.get('cmd-dump-otbr-log', 'grep "otbr-agent" /var/log/syslog') + output = self.bash_unwatched(cmd) for line in output: self.log('%s', line)