Skip to content

Commit e8db1c7

Browse files
author
Kyr Shatskyy
committed
task/pexec: log commands in debug mode
For convinience of log analysis let's print commands in debug mode. Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
1 parent 4c0f5ba commit e8db1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

teuthology/task/pexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _exec_host(barrier, barrier_queue, remote, sudo, testdir, ls):
5151
if l == "barrier":
5252
_do_barrier(barrier, barrier_queue, remote)
5353
continue
54-
54+
log.debug(f"{remote.name}< {l}")
5555
r.stdin.writelines([l, '\n'])
5656
r.stdin.flush()
5757
r.stdin.writelines(['\n'])

0 commit comments

Comments
 (0)