Make Yardstick log level can be set by CLI 81/42981/3
authorxudan <xudan16@huawei.com>
Mon, 25 Sep 2017 08:44:38 +0000 (04:44 -0400)
committerxudan <xudan16@huawei.com>
Tue, 26 Sep 2017 07:11:58 +0000 (03:11 -0400)
commit98ff39a0bb75e2ae07b4af77ddb127ffaeb4ce5b
treecbc38d97d8a4ac28551c92f05b4f8e7aa8f94ea8
parent6f47c82d4b6f830863ff1330163d869baa6c7eec
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>
dovetail/conf/yardstick_config.yml
dovetail/container.py
dovetail/patch/0001-Adjust-Yardstick-HA-test-cases-SLA-and-log-level.patch [moved from dovetail/patch/0001-Adjust-Yardstick-HA-test-cases-SLA.patch with 82% similarity]
dovetail/report.py
dovetail/run.py