From 000629048649d5be39790dbd6a35e4bb6918c949 Mon Sep 17 00:00:00 2001 From: kubi Date: Tue, 14 Jul 2015 11:19:27 +0000 Subject: Fix bug in cli.py Make sure log level set correctly. JIRA: YARDSTICK-57 Change-Id: Icc0e100432ce773f70ee0ac9b18471f89849d990 Signed-off-by: kubi --- yardstick/cmd/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg