From: kubi Date: Tue, 14 Jul 2015 11:19:27 +0000 (+0000) Subject: Fix bug in cli.py X-Git-Tag: brahmaputra.1.0~215 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=000629048649d5be39790dbd6a35e4bb6918c949;p=yardstick.git Fix bug in cli.py Make sure log level set correctly. JIRA: YARDSTICK-57 Change-Id: Icc0e100432ce773f70ee0ac9b18471f89849d990 Signed-off-by: kubi --- 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)