Code Review
/
yardstick.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
39ace12
)
Fix bug in cli.py
07/1007/1
author
kubi
<jean.gaoliang@huawei.com>
Tue, 14 Jul 2015 11:19:27 +0000
(11:19 +0000)
committer
kubi
<jean.gaoliang@huawei.com>
Tue, 14 Jul 2015 11:28:11 +0000
(11:28 +0000)
Make sure log level set correctly.
JIRA: YARDSTICK-57
Change-Id: Icc0e100432ce773f70ee0ac9b18471f89849d990
Signed-off-by: kubi <jean.gaoliang@huawei.com>
yardstick/cmd/cli.py
patch
|
blob
|
history
diff --git
a/yardstick/cmd/cli.py
b/yardstick/cmd/cli.py
index
3f6c73c
..
ae7f3be
100644
(file)
--- 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)