[coverage] Set the default error filter level to error
BZ: 115218
The default log filter level was set to warning or info, depending on
the libraries availables.
Set it always to error.
Change-Id: I939165f881095798eea874c2c268cfffcf6187fe
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Reviewed-on: http://android.intel.com:8080/112715
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
diff --git a/tools/coverage.py b/tools/coverage.py
index ead5e08..7e7b801 100755
--- a/tools/coverage.py
+++ b/tools/coverage.py
@@ -522,7 +522,7 @@
self.debug("Applied but rule does not match current "
"criteria (parent: %s) " % self.parent.name,
- logging.FATAL)
+ logging.ERROR)
raise self.IneligibleConfigurationAppliedError(self, criteria.export())
@@ -882,7 +882,7 @@
Result of parsing are the class attributes.
"""
- levelTranslate = [logging.WARNING, logging.INFO, logging.DEBUG]
+ levelTranslate = [logging.ERROR, logging.WARNING, logging.INFO, logging.DEBUG]
def __init__(self):
@@ -914,7 +914,7 @@
self.XMLreport = True
logger.warning(" - Debug level: error")
- self.debugLevel = logging.INFO
+ self.debugLevel = logging.ERROR
else :
myArgParser = argparse.ArgumentParser(description='Generate PFW report')