]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
orchestra: introduce quiet mode for remote.run 1584/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 30 Nov 2020 15:27:10 +0000 (16:27 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 30 Nov 2020 17:54:39 +0000 (18:54 +0100)
commitcbf9509beb11f52d9ffc905f6afeab4b95d79aa5
tree20b7382c29c3a26321bc3124103f4acd9a2eab14
parente0aaa9bf4c8d133a7f47964d9319e02787294a64
orchestra: introduce quiet mode for remote.run

Applied changes:

- Add quiet option to remote.run and subsidiary function calls
- Logging commands now directed to DEBUG instead of INFO logger

This is usefull when we want suppress logs for some kind of commmands like
reading binary files or logging useless data to stdout/stderr as well as
dumping some vulnarable information.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/orchestra/remote.py
teuthology/orchestra/run.py