bmaptool: print warning messages even with --quiet
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 24 Sep 2013 07:25:49 +0000 (10:25 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 30 Sep 2013 07:10:03 +0000 (10:10 +0300)
When the --quiet option is used, we print only error messages, and warnings
are suppressed. However, it is a good idea to print warnings even with --quiet,
since they usually tell about problems users should better know about.

Change-Id: Id0f708723cc13d57191fd540e684ca0cf20a45f7
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool

index e2b7f1b69882bf24a4657214721677a457489e2d..8c92d3cc2b3dda9093f715e80a9da5084a509042 100755 (executable)
--- a/bmaptool
+++ b/bmaptool
@@ -658,7 +658,7 @@ def main():
     args = parse_arguments()
 
     if args.quiet:
-        loglevel = logging.ERROR
+        loglevel = logging.WARNING
     else:
         loglevel = logging.INFO