diff --git a/tools/test.py b/tools/test.py index b85da6ae6c6c..e14ade371289 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1375,7 +1375,7 @@ def Main(): ch = logging.StreamHandler(sys.stdout) logger.addHandler(ch) - logger.setLevel('INFO') + logger.setLevel(logging.INFO) if options.logfile: fh = logging.FileHandler(options.logfile) logger.addHandler(fh)