orchestra/run: more concise logging when we run commands
@@ -87,12 +87,8 @@ class RemoteProcess(object):
"""
Execute remote command
"""
- prefix = "Running:"
- if self.label:
- prefix = "Running ({label}):".format(label=self.label)
- log.getChild(self.hostname).info(prefix)
for line in self.command.split('\n'):
- log.getChild(self.hostname).info('> %s' % line)
+ log.getChild(self.hostname).info('%s> %s' % (self.label or '', line))
if hasattr(self, 'timeout'):
(self._stdin_buf, self._stdout_buf, self._stderr_buf) = \
