summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2015-07-14 11:19:27 +0000
committerkubi <jean.gaoliang@huawei.com>2015-07-14 11:28:11 +0000
commit000629048649d5be39790dbd6a35e4bb6918c949 (patch)
tree92905fb16602e5f3a28d8f5cde9c736f18a4ba82
parent39ace1211d91d83aff8c06f9db88126cc2ec6588 (diff)
Fix bug in cli.py
Make sure log level set correctly. JIRA: YARDSTICK-57 Change-Id: Icc0e100432ce773f70ee0ac9b18471f89849d990 Signed-off-by: kubi <jean.gaoliang@huawei.com>
-rw-r--r--yardstick/cmd/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/cmd/cli.py b/yardstick/cmd/cli.py
index 3f6c73cc5..ae7f3be40 100644
--- a/yardstick/cmd/cli.py
+++ b/yardstick/cmd/cli.py
@@ -123,7 +123,7 @@ class YardstickCLI():
logger.setLevel(logging.WARNING)
if args.verbose:
- logger.getLogger('yardstick').setLevel(logging.INFO)
+ logger.setLevel(logging.INFO)
if args.debug:
logger.setLevel(logging.DEBUG)