From 46d3ff94f525e3063d78510f9b19ae84a5d800bb Mon Sep 17 00:00:00 2001 From: Sam Lang Date: Sun, 3 Feb 2013 11:09:04 -0600 Subject: [PATCH] run.py: Add target name to logging info Signed-off-by: Sam Lang --- teuthology/orchestra/run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/orchestra/run.py b/teuthology/orchestra/run.py index e60d8b9815e5e..3dff121319d78 100644 --- a/teuthology/orchestra/run.py +++ b/teuthology/orchestra/run.py @@ -54,7 +54,8 @@ def execute(client, args): block until the exit status is available. """ cmd = quote(args) - log.debug('Running: {cmd!r}'.format(cmd=cmd)) + (host,port) = client.get_transport().getpeername() + log.debug('Running [{h}]: {cmd!r}'.format(h=host, cmd=cmd)) (in_, out, err) = client.exec_command(cmd) def get_exitstatus(): -- 2.39.5