summaryrefslogtreecommitdiffstats
path: root/dovetail/conf
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-09-25 04:44:38 -0400
committerxudan <xudan16@huawei.com>2017-09-26 03:11:58 -0400
commit98ff39a0bb75e2ae07b4af77ddb127ffaeb4ce5b (patch)
treecbc38d97d8a4ac28551c92f05b4f8e7aa8f94ea8 /dovetail/conf
parent6f47c82d4b6f830863ff1330163d869baa6c7eec (diff)
Make Yardstick log level can be set by CLI
1. Currently, the log level of yardstick is DEBUG and cannot be modified. 2. Make it can be changed from CLI. 3. When use dovetail run --debug, can see all Yardstick logs (including DEBUG) in dovetail.log. 4. When run without debug option, cannot see Yardstick debug logs in dovetail.logs. 5. yardstick.log always doesn't include debug logs. JIRA: DOVETAIL-506 Change-Id: Iaafb61232a22e16fff2fa4605bf7e262b022085e Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/conf')
-rw-r--r--dovetail/conf/yardstick_config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/conf/yardstick_config.yml b/dovetail/conf/yardstick_config.yml
index f49d044d..fea8cea7 100644
--- a/dovetail/conf/yardstick_config.yml
+++ b/dovetail/conf/yardstick_config.yml
@@ -20,7 +20,7 @@ yardstick:
cmds:
- 'mkdir -p /home/opnfv/yardstick/results/'
- "cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
- yardstick -d task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
+ yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
--output-file /home/opnfv/yardstick/results/{{testcase}}.out
--task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml'}'"
post_condition: