Skip to content

Commit

Permalink
fix gather_obproxy_log.py (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy authored Jul 17, 2024
1 parent e5a9f00 commit b54e3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/gather/gather_obproxy_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __pharse_log(self, ssh_client, home_path, log_name, gather_path):
grep_cmd = "grep -e '{0}' ".format(grep_arg) + "{log_dir}/{log_name}".format(log_name=log_name, log_dir=log_path)
continue
grep_cmd += "| grep -e '{0}'".format(grep_arg)
grep_cmd += " >> {log_dir}/{log_name}".format(log_name=log_name, log_dir=log_path)
grep_cmd += " >> {gather_path}/{log_name}".format(log_name=log_name, gather_path=gather_path)
self.stdio.verbose("grep files, run cmd = [{0}]".format(grep_cmd))
ssh_client.exec_cmd(grep_cmd)
else:
Expand Down

0 comments on commit b54e3a3

Please sign in to comment.