process: Log stdout tail when process exits with error
This is useful since remote processes we run under ssh end up merging both remote stdout and sterr into local stdout. Change-Id: Ibbfb099a667f21641075faa1858e0b9acd706fd2
This commit is contained in:
parent
6f31de823e
commit
9dbdb623a0
|
@ -277,7 +277,7 @@ class Process(log.Origin):
|
|||
self.log('Terminated', rc=self.result)
|
||||
else:
|
||||
self.err('Terminated: ERROR', rc=self.result)
|
||||
#self.log_stdout_tail()
|
||||
self.log_stdout_tail()
|
||||
self.log_stderr_tail()
|
||||
|
||||
def log_stdout_tail(self):
|
||||
|
|
Loading…
Reference in New Issue